This commit is contained in:
Jeffrey C. Ollie 2023-04-04 12:49:27 -05:00
parent 0a0ea50828
commit fd6abfc50d
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";
}
];