add networkmanager on desktops

Also adds my user to the group to control it
This commit is contained in:
Romain Paquet 2026-03-26 21:16:42 +00:00
parent c7ec1a5423
commit 4b22702ed6
2 changed files with 14 additions and 2 deletions

View file

@ -52,4 +52,8 @@
};
programs.kdeconnect.enable = true;
networking.networkmanager = {
enable = true;
};
}

View file

@ -1,4 +1,9 @@
{ lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
{
users.users.rpqt = {
isNormalUser = true;
@ -14,7 +19,10 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa8R8obgptefcp27Cdp9bc2fiyc9x0oTfMsTPFp2ktE rpqt@haze"
];
extraGroups = [ "wheel" ];
extraGroups = [
"wheel"
]
++ lib.mkIf config.networking.networkmanager.enabled [ "networkmanager" ];
};
programs.fish.enable = true;