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:
parent
d919eb6f19
commit
676dbc872d
3 changed files with 4 additions and 2 deletions
|
@ -162,7 +162,7 @@
|
|||
cube = {
|
||||
system = "x86_64-linux";
|
||||
|
||||
normalUsers = [ "nixos" "root" ];
|
||||
normalUsers = [ "rgb" "root" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
normalUsers: graphicalUsers:
|
||||
|
||||
rec {
|
||||
inherit normalUsers graphicalUsers;
|
||||
|
||||
systemConfiguration = configuration: configuration;
|
||||
|
||||
systemPackages = packages: systemConfiguration {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(systemConfiguration {
|
||||
networking.networkmanager = enabled {};
|
||||
|
||||
users.extraGroups.networkmanager.members = [ "nixos" ];
|
||||
users.extraGroups.networkmanager.members = ulib.normalUsers;
|
||||
})
|
||||
|
||||
(homeConfiguration {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue