This commit is contained in:
Jeffrey C. Ollie 2023-04-04 12:46:35 -05:00
parent 81b496021e
commit 0a0ea50828
No known key found for this signature in database
GPG key ID: F936E4DCB7E25F15

View file

@ -194,7 +194,7 @@
lib.mkIf cfg.enable {
assertions = [
{
assertion = cfg.passwordFile != null && cfg.password != null;
assertion = cfg.passwordFile == null && cfg.password == null;
message = "Must specifiy either passwordFile or password";
}
];