flake/nixosConfigurations.nix: Generate hostname from host attribute name
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
"aarch64-linux"
|
||||
];
|
||||
|
||||
networking.hostName = "hydra-2";
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.ens18.ipv6.addresses = [ { address = "2001:638:904:ffc1::100"; prefixLength = 64; } ];
|
||||
networking.interfaces.ens18.ipv4.addresses = [ { address = "141.24.50.112"; prefixLength = 24; } ];
|
||||
|
Reference in New Issue
Block a user