From 1e8cda0c79c81222ec11e1ba76293f79ea7d71b8 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Thu, 17 Jul 2025 14:24:08 +1000 Subject: [PATCH] install networkmanager as core --- hosts/laptop/configuration.nix | 2 -- modules/nixos/features/network.nix | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 = [ ];