diff --git a/host/achiles.nix b/host/bachtel.nix similarity index 95% rename from host/achiles.nix rename to host/bachtel.nix index 6b975e9..e1201ea 100644 --- a/host/achiles.nix +++ b/host/bachtel.nix @@ -19,6 +19,7 @@ let routerConfig = { prefixLength = 24; domain = "rappi.fh2.ch"; dhcpRange = "10.2.1.2,10.2.1.249"; + routerHostName = "bachtel"; }; }; @@ -60,7 +61,7 @@ in # Define on which hard drive you want to install Grub. boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only - networking.hostName = "achiles"; # Define your hostname. + networking.hostName = routerConfig.lanNetwork.routerHostName; # Define your hostname. #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. #networking.wireless.networks = { # yummi = {