mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 03:27:45 +00:00
Refactor everything to make usage easier with
mutiple systems, also merge all abstractions to avoid huge desctructions in the attrset input.
This commit is contained in:
parent
a0fa73b873
commit
ee2055928c
47 changed files with 343 additions and 279 deletions
14
lib/values.nix
Normal file
14
lib/values.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
enabled = attributes: attributes // {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
normalUser = attributes: attributes // {
|
||||
isNormalUser = true;
|
||||
};
|
||||
|
||||
graphicalUser = attributes: attributes // {
|
||||
extraGroups = [ "graphical" ] ++ (attributes.extraGroups or []);
|
||||
isNormalUser = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue