From e0ad8ed3f05b21bc46e88dbb03ddea12d1273b93 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 8 Apr 2022 16:46:07 -0700 Subject: delete unused module --- hosts/common/server/backups/users.nix | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 hosts/common/server/backups/users.nix diff --git a/hosts/common/server/backups/users.nix b/hosts/common/server/backups/users.nix deleted file mode 100644 index d56f7fe..0000000 --- a/hosts/common/server/backups/users.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ config, ... }: - -{ - - systemd.services.backups-maintenance-fcuny = { - Unit = { - Description = "maintenance for fcuny backups"; - Documentation = "man:restic(1)"; - }; - Service = { - Type = "oneshot"; - User = "restic"; - ReadWritePaths = "/data/slow/backups/users/fcuny"; - Environment = [ - "RESTIC_REPOSITORY=/data/slow/backups/users/fcuny" - "RESTIC_PASSWORD_FILE=" - ]; - ExecStart = [ - "${pkgs.restic}/bin/restic --verbose rebuild-index" - "${pkgs.restic}/bin/restic --verbose prune" - "${pkgs.restic}/bin/restic --verbose forget --prune --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --keep-yearly 3" - ]; - }; - }; -} -- cgit 1.4.1