backup: fix condition
This commit is contained in:
parent
df4d1abbdf
commit
93ebde8deb
|
@ -24,7 +24,7 @@ in
|
|||
|
||||
config = {
|
||||
assertions = [ {
|
||||
assertion = cfg.paths != [ ] -> !cfg.enable;
|
||||
assertion = cfg.paths != [ ] -> cfg.enable;
|
||||
message = "Configuring backup services.backup.paths without enabling services.backup.enable is useless!";
|
||||
} ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue