Add networking settings
This commit is contained in:
parent
b835fa8aea
commit
f727524b29
|
|
@ -9,6 +9,7 @@
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./gdm.nix
|
./gdm.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
|
./network.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
host,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
networking = {
|
||||||
|
hostname = "${host}";
|
||||||
|
networkmanager.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ networkmanagerapplet ];
|
||||||
|
}
|
||||||
|
|
@ -35,6 +35,7 @@ in
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
hashedPassword = "${hashedPassword}";
|
hashedPassword = "${hashedPassword}";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
];
|
];
|
||||||
shell = pkgs.${shellCfg.defaultShell};
|
shell = pkgs.${shellCfg.defaultShell};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue