diff options
Diffstat (limited to 'config/borg-backup.nix')
| -rw-r--r-- | config/borg-backup.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/borg-backup.nix b/config/borg-backup.nix index fe31144..188fd06 100644 --- a/config/borg-backup.nix +++ b/config/borg-backup.nix @@ -9,8 +9,7 @@ let repo = "storage"; repo_path = lib.removePrefix "/" path; }; -in -{ +in { systemd.services.borg-backup = { description = "Run backups."; path = with pkgs; [ borgbackup rsync openssh ]; @@ -57,9 +56,7 @@ in description = "Find latest backup probe timestamp."; path = with pkgs; [ borgbackup rsync openssh sshfs moreutils ]; startAt = "06:30"; - serviceConfig = { - PrivateTmp = true; - }; + serviceConfig = { PrivateTmp = true; }; environment = { BORG_KEY_FILE = "/opt/secret/borg-backup-keys/staging_backup"; BORG_RELOCATED_REPO_ACCESS_IS_OK = "yes"; |
