syncthing folders: add ignoreDelete option

This commit is contained in:
tv 2019-06-21 23:56:07 +02:00
parent 06f8c8986b
commit 43141c67fd

View File

@ -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;