nixos/modules: Replace all nested types.either's with types.oneOf's
This commit is contained in:
@@ -447,7 +447,7 @@ in
|
||||
};
|
||||
|
||||
config = mkOption {
|
||||
type = with types; attrsOf (either bool (either str (listOf str)));
|
||||
type = with types; attrsOf (oneOf [ bool str (listOf str) ]);
|
||||
description = ''
|
||||
The main.cf configuration file as key value set.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user