From 9278f0e1721658868d2cca496fcf875d81867cb1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 15 Jan 2023 09:46:24 -0800 Subject: feat(modules/backup): enable max compression --- modules/services/backup/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/services/backup') diff --git a/modules/services/backup/default.nix b/modules/services/backup/default.nix index 6324a27..4e7fc23 100644 --- a/modules/services/backup/default.nix +++ b/modules/services/backup/default.nix @@ -88,7 +88,7 @@ in services.restic.backups.host = { # Take care of included and excluded files paths = cfg.paths; - extraBackupArgs = [ "--verbose=1" ] + extraBackupArgs = [ "--verbose=1" "--compression=max" ] ++ lib.optional (builtins.length cfg.exclude != 0) excludeArg; # Take care of creating the repository if it doesn't exist initialize = true; -- cgit 1.4.1