From a86b16f8457f1003c116589d6b0afcd0c4e031ee Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Wed, 30 Jul 2025 01:03:36 -0400 Subject: [PATCH] Add networking settings --- modules/core/default.nix | 1 + modules/core/network.nix | 14 ++++++++++++++ modules/core/user.nix | 1 + 3 files changed, 16 insertions(+) create mode 100644 modules/core/network.nix 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..8ab397a --- /dev/null +++ b/modules/core/network.nix @@ -0,0 +1,14 @@ +{ + config, + host, + pkgs, + ... +}: +{ + 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};