global/programming: refactor into options
This commit is contained in:
parent
60707813d7
commit
e2c9ed9d25
3 changed files with 156 additions and 105 deletions
|
@ -38,7 +38,7 @@ in
|
|||
};
|
||||
|
||||
universe = {
|
||||
packages = mkOpt (listOf package) [ ];
|
||||
packages = packageListOpt;
|
||||
shellAliases = mkOpt (attrsOf str) { };
|
||||
variables = mkOpt (attrsOf (oneOf [ (listOf str) str path ])) { };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue