mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +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 {
|
systemConfiguration {
|
||||||
networking.networkmanager = enabled {};
|
networking.networkmanager = enabled {};
|
||||||
|
|
||||||
|
users.extraGroups.networkmanager.members = [ "nixos" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,6 @@
|
||||||
systemConfiguration {
|
systemConfiguration {
|
||||||
users.users.nixos = normalUser {
|
users.users.nixos = normalUser {
|
||||||
description = "NixOS";
|
description = "NixOS";
|
||||||
|
extraGroups = [ "wheel" ];
|
||||||
extraGroups = [
|
|
||||||
"networkmanager"
|
|
||||||
"wheel"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue