mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 11:41:34 +01:00
syncthing: Exclude downloads folder from backups
This commit is contained in:
parent
4ddc49c001
commit
266b334501
1 changed files with 1 additions and 0 deletions
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue