aboutsummaryrefslogtreecommitdiff
path: root/nixos/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/alpha')
-rw-r--r--nixos/alpha/configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 4c12ee9..d8b2fc3 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -116,6 +116,14 @@
# Rust build files
"**/target"
];
+
+ prune.keep = {
+ within = "1d"; # Keep all archives from the last day
+ daily = 7;
+ weekly = 4;
+ monthly = 3;
+ };
+
repo = "20963@hk-s020.rsync.net:rolling/alpha";
encryption.mode = "repokey-blake2";
encryption.passCommand = "cat ${config.sops.secrets.borg-alpha-rolling-pass.path}";