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-11 01:34:47 +01:00
parent 9dab0ae6ba
commit 91203d8d06
+1 -1
View File
@@ -66,7 +66,7 @@ let
};
secretsSetupMethod = mkOption {
type = types.str;
type = with types; nullOr str;
default = null;
};