diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 89e47db..9d719f8 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -21,8 +21,6 @@ boot.initrd.luks.devices."luks-433a5889-6f18-4c9a-8d99-db02af39bdee".device = "/dev/disk/by-uuid/433a5889-6f18-4c9a-8d99-db02af39bdee"; - networking.networkmanager.enable = true; - system.stateVersion = "24.11"; i18n.extraLocaleSettings.LC_ALL = "en_AU.UTF-8"; diff --git a/modules/nixos/features/network.nix b/modules/nixos/features/network.nix index 2220088..ad955f7 100644 --- a/modules/nixos/features/network.nix +++ b/modules/nixos/features/network.nix @@ -9,7 +9,10 @@ let in { config = lib.mkIf config.${feature}.enable { - networking.hostName = "${hostName}"; + networking = { + hostName = "${hostName}"; + networkmanager.enable = true; + }; }; imports = [ ];