mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
syncthing: Exclude the Projeckts folder from backups
This commit is contained in:
parent
045620f11f
commit
91cab5d9c2
1 changed files with 4 additions and 1 deletions
|
|
@ -140,7 +140,10 @@ in
|
|||
restic.backups.syncthing = lib.mkIf cfg.doBackups {
|
||||
conflictingService = "syncthing.service";
|
||||
paths = [ dataDir ];
|
||||
extraConfig.exclude = [ "${dataDir}/Downloads" ];
|
||||
extraConfig.exclude = [
|
||||
"${dataDir}/Downloads"
|
||||
"${dataDir}/Projects"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue