diff options
-rw-r--r-- | flake.nix | 1 | ||||
-rw-r--r-- | hosts/cez/modules/network.nix | 1 | ||||
-rw-r--r-- | hosts/kay/configuration.nix | 1 | ||||
-rw-r--r-- | hosts/mox/configuration.nix | 1 |
4 files changed, 1 insertions, 3 deletions
@@ -15,6 +15,7 @@ makeHost = host: system: lib.nixosSystem { inherit system; modules = [ + { networking.hostName = host; } ./hosts/${host}/configuration.nix sops-nix.nixosModules.sops ]; diff --git a/hosts/cez/modules/network.nix b/hosts/cez/modules/network.nix index 429bf89..fb30056 100644 --- a/hosts/cez/modules/network.nix +++ b/hosts/cez/modules/network.nix @@ -2,7 +2,6 @@ { networking = { - hostName = "cez"; firewall.enable = false; wireless.iwd = { diff --git a/hosts/kay/configuration.nix b/hosts/kay/configuration.nix index a21f3a3..ad10a96 100644 --- a/hosts/kay/configuration.nix +++ b/hosts/kay/configuration.nix @@ -10,5 +10,4 @@ ]; boot.consoleLogLevel = 3; - networking.hostName = "kay"; } diff --git a/hosts/mox/configuration.nix b/hosts/mox/configuration.nix index 7ae99c1..456cd89 100644 --- a/hosts/mox/configuration.nix +++ b/hosts/mox/configuration.nix @@ -8,5 +8,4 @@ ]; services.openssh.ports = [ 22 465 ]; - networking.hostName = "mox"; } |