diff --git a/modules/system/backups.nix b/modules/system/backups.nix index e38443a..9415ee2 100644 --- a/modules/system/backups.nix +++ b/modules/system/backups.nix @@ -42,7 +42,7 @@ in }; }; - config = lib.mkIf (cfg.enable && baks != {}) { + config = lib.mkIf (cfg.enable && cfg.baks != {}) { systemd.services.backups = { description = "backup service with borg!";