diff options
Diffstat (limited to 'modules/services/unifi')
-rw-r--r-- | modules/services/unifi/default.nix | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/modules/services/unifi/default.nix b/modules/services/unifi/default.nix index af7b059..c36860a 100644 --- a/modules/services/unifi/default.nix +++ b/modules/services/unifi/default.nix @@ -69,19 +69,6 @@ in { }; }; - age.secrets.restic-repo-systems.file = - ../../../secrets/restic/repo-systems.age; - - services.restic.backups = { - unifi = { - paths = [ "/var/lib/unifi" ]; - repository = "/data/slow/backups/systems"; - passwordFile = config.age.secrets.restic-repo-systems.path; - initialize = true; - timerConfig = { OnCalendar = "00:45"; }; - extraBackupArgs = [ "--tag unifi" ]; - pruneOpts = [ "--keep-daily 7" "--keep-weekly 4" ]; - }; - }; + my.services.backup = { paths = [ "/var/lib/unifi" ]; }; }; } |