summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-06-21 23:56:07 +0200
committertv <tv@krebsco.de>2019-06-21 23:56:07 +0200
commit43141c67fdafed29b1f6e40b9a77f4efb5302a07 (patch)
tree6764cbb594ff5972a8ae91505e317ef2c917b6ed /krebs
parent06f8c8986b01bd805191fa452c09369cdafb0777 (diff)
syncthing folders: add ignoreDelete option
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/syncthing.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/3modules/syncthing.nix b/krebs/3modules/syncthing.nix
index 897ba1e7f..3ec0fe09d 100644
--- a/krebs/3modules/syncthing.nix
+++ b/krebs/3modules/syncthing.nix
@@ -16,6 +16,7 @@ let
rescanIntervalS = folder.rescanInterval;
fsWatcherEnabled = folder.watch;
fsWatcherDelayS = folder.watchDelay;
+ ignoreDelete = folder.ignoreDelete;
ignorePerms = folder.ignorePerms;
}) cfg.folders;
@@ -120,6 +121,11 @@ in
default = 10;
};
+ ignoreDelete = mkOption {
+ type = types.bool;
+ default = false;
+ };
+
ignorePerms = mkOption {
type = types.bool;
default = true;