nixos/modules: Replace all nested types.either's with types.oneOf's
This commit is contained in:
@@ -36,7 +36,7 @@ in {
|
||||
};
|
||||
|
||||
config = mkOption {
|
||||
type = attrsOf (nullOr (either (either bool int) str));
|
||||
type = attrsOf (nullOr (oneOf [ bool int str ]));
|
||||
default = {};
|
||||
example = literalExample ''
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user