about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-15 09:46:24 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-15 09:46:24 -0800
commit9278f0e1721658868d2cca496fcf875d81867cb1 (patch)
treeccd085defc7ad9cd99aaf3bf0a19b3400661272b /modules/services
parentfix(modules/gitea): correctly set the variable for log level (diff)
downloadworld-9278f0e1721658868d2cca496fcf875d81867cb1.tar.gz
feat(modules/backup): enable max compression
Diffstat (limited to '')
-rw-r--r--modules/services/backup/default.nix2
1 files changed, 1 insertions, 1 deletions
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;