fix
This commit is contained in:
parent
81b496021e
commit
0a0ea50828
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