1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 11:07:44 +00:00

Don't hardcode users part 2

This commit is contained in:
RGBCube 2023-12-30 22:19:04 +03:00
parent d919eb6f19
commit 676dbc872d
No known key found for this signature in database
3 changed files with 4 additions and 2 deletions

View file

@ -162,7 +162,7 @@
cube = {
system = "x86_64-linux";
normalUsers = [ "nixos" "root" ];
normalUsers = [ "rgb" "root" ];
};
};
};

View file

@ -1,6 +1,8 @@
normalUsers: graphicalUsers:
rec {
inherit normalUsers graphicalUsers;
systemConfiguration = configuration: configuration;
systemPackages = packages: systemConfiguration {

View file

@ -3,7 +3,7 @@
(systemConfiguration {
networking.networkmanager = enabled {};
users.extraGroups.networkmanager.members = [ "nixos" ];
users.extraGroups.networkmanager.members = ulib.normalUsers;
})
(homeConfiguration {