diff --git a/default.nix b/default.nix index d84e2f4d..fb52c0c1 100644 --- a/default.nix +++ b/default.nix @@ -3,6 +3,8 @@ device: { pkgs, options, lib, config, ... }: { + networking.hostName = device; + imports = [ /etc/nixos/hardware-configuration.nix diff --git a/machines/aka.nix b/machines/aka.nix index 69336d42..ff2f53bc 100644 --- a/machines/aka.nix +++ b/machines/aka.nix @@ -12,8 +12,6 @@ ]; - networking.hostName = "aka"; networking.networkmanager.enable = true; - time.timeZone = "America/Toronto"; } diff --git a/machines/ao.nix b/machines/ao.nix index ac50654f..fad0998b 100644 --- a/machines/ao.nix +++ b/machines/ao.nix @@ -14,7 +14,6 @@ ]; - networking.hostName = "ao"; networking.networkmanager.enable = true; time.timeZone = "America/Toronto"; diff --git a/machines/kuro.nix b/machines/kuro.nix index 752686b7..91fba2e5 100644 --- a/machines/kuro.nix +++ b/machines/kuro.nix @@ -33,7 +33,6 @@ ]; - networking.hostName = "kuro"; networking.networkmanager.enable = true; time.timeZone = "America/Toronto"; diff --git a/machines/shiro.nix b/machines/shiro.nix index 292f9dc5..c857e57e 100644 --- a/machines/shiro.nix +++ b/machines/shiro.nix @@ -37,7 +37,6 @@ in { ]; theme.wallpaper = ; - networking.hostName = "shiro"; networking.wireless.enable = true; time.timeZone = "America/Toronto";