diff --git a/modules/services/backup.nix b/modules/services/backup.nix index 8462289..88c7fde 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 = [ ] + extraBackupArgs = [ "--verbose=2" ] ++ 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 eb2e14e..d615903 100644 --- a/modules/services/nextcloud.nix +++ b/modules/services/nextcloud.nix @@ -70,6 +70,10 @@ in paths = [ config.services.nextcloud.home ]; + exclude = [ + # image previews can take up a lot of space + "${config.services.nextcloud.home}/data/appdata_*/preview" + ]; }; }; }