global/programming: refactor into options

This commit is contained in:
Infinidoge 2024-12-03 14:39:26 -05:00
parent 60707813d7
commit e2c9ed9d25
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 156 additions and 105 deletions

View file

@ -38,7 +38,7 @@ in
};
universe = {
packages = mkOpt (listOf package) [ ];
packages = packageListOpt;
shellAliases = mkOpt (attrsOf str) { };
variables = mkOpt (attrsOf (oneOf [ (listOf str) str path ])) { };
};