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; rescanIntervalS = folder.rescanInterval;
fsWatcherEnabled = folder.watch; fsWatcherEnabled = folder.watch;
fsWatcherDelayS = folder.watchDelay; fsWatcherDelayS = folder.watchDelay;
ignoreDelete = folder.ignoreDelete;
ignorePerms = folder.ignorePerms; ignorePerms = folder.ignorePerms;
}) cfg.folders; }) cfg.folders;
@ -120,6 +121,11 @@ in
default = 10; default = 10;
}; };
ignoreDelete = mkOption {
type = types.bool;
default = false;
};
ignorePerms = mkOption { ignorePerms = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;