With newer nixpkgs versions, a type error was shown instead of the warning message when `secretsSetupMethod` was unset.