1
0

profiles/desktop: Give desktop users special permisions for networkmanager

This commit is contained in:
2025-12-14 13:13:54 +01:00
parent f152e1c60d
commit 9b3d9993f4
3 changed files with 17 additions and 2 deletions

View File

@@ -2,9 +2,13 @@
with lib;
{
let
config = mkIf config.profiles.clerie.desktop.enable {
cfg = config.profiles.clerie.desktop;
in {
config = mkIf cfg.enable {
networking.networkmanager.settings = {
connectivity = {
@@ -15,6 +19,8 @@ with lib;
};
};
users.groups.networkmanager.members = cfg.users;
};
}