syncthing: Exclude the Projeckts folder from backups

This commit is contained in:
SebastianStork 2026-03-01 16:04:25 +01:00
parent 045620f11f
commit 91cab5d9c2
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -140,7 +140,10 @@ 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" ]; extraConfig.exclude = [
"${dataDir}/Downloads"
"${dataDir}/Projects"
];
}; };
}; };