1
0

flake/nixosConfigurations.nix: Generate hostname from host attribute name

This commit is contained in:
2024-05-23 13:51:06 +02:00
parent a2a84a66bc
commit 985b4d4c17
26 changed files with 25 additions and 76 deletions

View File

@@ -11,8 +11,6 @@
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
networking.hostName = "dn42-il-gw1";
networking.useDHCP = false;
networking.interfaces.lo.ipv6.addresses = [ { address = "fd56:4902:eca0:1::1"; prefixLength = 64; } ];
# VM Nat Netz mercury