1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Set groups in respective files instead of the users file

This commit is contained in:
RGBCube 2023-12-05 12:49:58 +03:00
parent e776fcd1e6
commit c1163eec84
No known key found for this signature in database
2 changed files with 3 additions and 5 deletions

View file

@ -2,4 +2,6 @@
systemConfiguration {
networking.networkmanager = enabled {};
users.extraGroups.networkmanager.members = [ "nixos" ];
}

View file

@ -3,10 +3,6 @@
systemConfiguration {
users.users.nixos = normalUser {
description = "NixOS";
extraGroups = [
"networkmanager"
"wheel"
];
extraGroups = [ "wheel" ];
};
}