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:
Erik Arvstedt 2022-03-10 22:48:16 +01:00
parent 9dab0ae6ba
commit 91203d8d06
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -66,7 +66,7 @@ let
};
secretsSetupMethod = mkOption {
type = types.str;
type = with types; nullOr str;
default = null;
};