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
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
secretsSetupMethod = mkOption {
|
secretsSetupMethod = mkOption {
|
||||||
type = types.str;
|
type = with types; nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue