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