mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
Revert "treewide: migrate nixos modules to networking.hosts"
This reverts commit cd64f1bd87
.
This commit is contained in:
parent
7c873c2d00
commit
c87464cb0c
4 changed files with 27 additions and 27 deletions
|
@ -70,12 +70,10 @@ in
|
|||
# Rely on GCP's firewall instead
|
||||
networking.firewall.enable = mkDefault false;
|
||||
|
||||
networking.hosts = {
|
||||
"169.254.169.254" = [
|
||||
"metadata.google.internal"
|
||||
"metadata"
|
||||
];
|
||||
};
|
||||
# Configure default metadata hostnames
|
||||
networking.extraHosts = ''
|
||||
169.254.169.254 metadata.google.internal metadata
|
||||
'';
|
||||
|
||||
networking.timeServers = [ "metadata.google.internal" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue