Add networking settings

This commit is contained in:
Joshua Yuen 2025-07-30 01:03:36 -04:00
parent 510a82c2e5
commit d3858dd5e9
Signed by: josh
GPG Key ID: 502720BC22ED411C
3 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,7 @@
./fonts.nix
./gdm.nix
./hyprland.nix
./network.nix
./packages.nix
./pipewire.nix
./plasma.nix

14
modules/core/network.nix Normal file
View File

@ -0,0 +1,14 @@
{
config,
host,
pkgs,
...
}:
{
networking = {
hostName = "${host}";
networkmanager.enable = true;
};
environment.systemPackages = with pkgs; [ networkmanagerapplet ];
}

View File

@ -34,6 +34,7 @@ in
isNormalUser = true;
initialPassword = "changeme";
extraGroups = [
"networkmanager"
"wheel"
];
shell = pkgs.${shellCfg.defaultShell};