syncthing folders: add ignoreDelete option
This commit is contained in:
parent
06f8c8986b
commit
43141c67fd
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue