syncthing: Exclude downloads folder from backups

This commit is contained in:
SebastianStork 2026-01-18 18:56:41 +01:00
parent 4ddc49c001
commit 266b334501
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -145,6 +145,7 @@ in
restic.backups.syncthing = lib.mkIf cfg.doBackups { restic.backups.syncthing = lib.mkIf cfg.doBackups {
conflictingService = "syncthing.service"; conflictingService = "syncthing.service";
paths = [ dataDir ]; paths = [ dataDir ];
extraConfig.exclude = [ "${dataDir}/Downloads" ];
}; };
}; };