diff --git a/nix/configurations/hetzner_benchmark.nix b/nix/configurations/hetzner_benchmark.nix index 6201e6f1..38d0d479 100644 --- a/nix/configurations/hetzner_benchmark.nix +++ b/nix/configurations/hetzner_benchmark.nix @@ -25,7 +25,7 @@ in # # hostname # - { _module.args = { inherit hostname; }; } + { networking.hostName = hostname; } # # nixpkgs @@ -86,11 +86,6 @@ in }; hm.imports = [ - # - # hostname - # - { _module.args = { inherit hostname; }; } - # # home modules # diff --git a/nix/configurations/hydrogen.nix b/nix/configurations/hydrogen.nix index 5a303423..42554878 100644 --- a/nix/configurations/hydrogen.nix +++ b/nix/configurations/hydrogen.nix @@ -28,7 +28,7 @@ in # # hostname # - { _module.args = { inherit hostname; }; } + { networking.hostName = hostname; } # # nixpkgs @@ -97,11 +97,6 @@ in }; hm.imports = [ - # - # hostname - # - { _module.args = { inherit hostname; }; } - # # home modules # diff --git a/nix/configurations/vanadium.nix b/nix/configurations/vanadium.nix index 105dd10b..7ee11888 100644 --- a/nix/configurations/vanadium.nix +++ b/nix/configurations/vanadium.nix @@ -25,7 +25,7 @@ in # # hostname # - { _module.args = { inherit hostname; }; } + { networking.hostName = hostname; } # # nixpkgs @@ -147,11 +147,6 @@ in }; hm.imports = [ - # - # hostname - # - { _module.args = { inherit hostname; }; } - # # home modules # diff --git a/nix/nixosModules/common/network.nix b/nix/nixosModules/common/network.nix index 6d36fbfb..61785574 100644 --- a/nix/nixosModules/common/network.nix +++ b/nix/nixosModules/common/network.nix @@ -1,7 +1,4 @@ -{ hostname, ... }: { - networking.hostName = hostname; - services.openssh = { enable = true; settings = {