1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 12:37:46 +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 { systemConfiguration {
networking.networkmanager = enabled {}; networking.networkmanager = enabled {};
users.extraGroups.networkmanager.members = [ "nixos" ];
} }

View file

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