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:
parent
e776fcd1e6
commit
c1163eec84
2 changed files with 3 additions and 5 deletions
|
@ -2,4 +2,6 @@
|
|||
|
||||
systemConfiguration {
|
||||
networking.networkmanager = enabled {};
|
||||
|
||||
users.extraGroups.networkmanager.members = [ "nixos" ];
|
||||
}
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
systemConfiguration {
|
||||
users.users.nixos = normalUser {
|
||||
description = "NixOS";
|
||||
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue