mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +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 = {
|
cube = {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
normalUsers = [ "nixos" "root" ];
|
normalUsers = [ "rgb" "root" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
normalUsers: graphicalUsers:
|
normalUsers: graphicalUsers:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
inherit normalUsers graphicalUsers;
|
||||||
|
|
||||||
systemConfiguration = configuration: configuration;
|
systemConfiguration = configuration: configuration;
|
||||||
|
|
||||||
systemPackages = packages: systemConfiguration {
|
systemPackages = packages: systemConfiguration {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(systemConfiguration {
|
(systemConfiguration {
|
||||||
networking.networkmanager = enabled {};
|
networking.networkmanager = enabled {};
|
||||||
|
|
||||||
users.extraGroups.networkmanager.members = [ "nixos" ];
|
users.extraGroups.networkmanager.members = ulib.normalUsers;
|
||||||
})
|
})
|
||||||
|
|
||||||
(homeConfiguration {
|
(homeConfiguration {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue