diff --git a/modules/core/default.nix b/modules/core/default.nix index d86fed0..06c2580 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -9,6 +9,7 @@ ./fonts.nix ./gdm.nix ./hyprland.nix + ./network.nix ./packages.nix ./pipewire.nix ./plasma.nix diff --git a/modules/core/network.nix b/modules/core/network.nix new file mode 100644 index 0000000..4504e58 --- /dev/null +++ b/modules/core/network.nix @@ -0,0 +1,13 @@ +{ + config, + host, + ... +}: +{ + networking = { + hostname = "${host}"; + networkmanager.enable = true; + }; + + environment.systemPackages = with pkgs; [ networkmanagerapplet ]; +} \ No newline at end of file diff --git a/modules/core/user.nix b/modules/core/user.nix index 85c84b3..cf38cc6 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -35,6 +35,7 @@ in isNormalUser = true; hashedPassword = "${hashedPassword}"; extraGroups = [ + "networkmanager" "wheel" ]; shell = pkgs.${shellCfg.defaultShell};