diff --git a/modules/services/backup.nix b/modules/services/backup.nix index 88c7fde..8462289 100644 --- a/modules/services/backup.nix +++ b/modules/services/backup.nix @@ -92,7 +92,7 @@ in services.restic.backups.backblaze = { # Take care of included and excluded files paths = cfg.paths; - extraBackupArgs = [ "--verbose=2" ] + extraBackupArgs = [ ] ++ lib.optional (builtins.length cfg.exclude != 0) excludeArg ; # Take care of creating the repository if it doesn't exist diff --git a/modules/services/nextcloud.nix b/modules/services/nextcloud.nix index d615903..eb2e14e 100644 --- a/modules/services/nextcloud.nix +++ b/modules/services/nextcloud.nix @@ -70,10 +70,6 @@ in paths = [ config.services.nextcloud.home ]; - exclude = [ - # image previews can take up a lot of space - "${config.services.nextcloud.home}/data/appdata_*/preview" - ]; }; }; }