backup: fix condition

This commit is contained in:
Sandro - 2023-11-11 04:34:19 +01:00
parent df4d1abbdf
commit 93ebde8deb
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 1 deletions

View File

@ -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!";
} ];