fix
This commit is contained in:
parent
0a0ea50828
commit
fd6abfc50d
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = cfg.passwordFile == null && cfg.password == null;
|
assertion = !(cfg.passwordFile == null && cfg.password == null);
|
||||||
message = "Must specifiy either passwordFile or password";
|
message = "Must specifiy either passwordFile or password";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue