secrets: fix secrets setup warning
With newer nixpkgs versions, a type error was shown instead of the warning message when `secretsSetupMethod` was unset.
This commit is contained in:
parent
9dab0ae6ba
commit
91203d8d06
|
@ -66,7 +66,7 @@ let
|
|||
};
|
||||
|
||||
secretsSetupMethod = mkOption {
|
||||
type = types.str;
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user