From 170612a57efbc07e014347de434bdfee4cb82d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Thu, 11 Aug 2022 19:35:44 +0200 Subject: [PATCH] feat(restic): reduce download bandwidth --- services/restic/lib.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/restic/lib.nix b/services/restic/lib.nix index 6bf001f..0830aa7 100644 --- a/services/restic/lib.nix +++ b/services/restic/lib.nix @@ -34,6 +34,9 @@ in { "--keep-weekly 4" "--keep-monthly 3" "--keep-yearly 1" + # reduce download bandwidth + "--max-unused 10%" + "--repack-cacheable-only" ] ++ extraPruneOpts; } // (removeAttrs args [ "name"