diff options
author | pennae <82953136+pennae@users.noreply.github.com> | 2022-09-01 16:10:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 16:10:09 +0200 |
commit | 3bddcf5f9002814a8bec50025418faa3fd3f6138 (patch) | |
tree | 5ae3ebf10acce3ad00d4a2468f8e64c41a2c749b /nixos/modules/services/networking/syncthing.nix | |
parent | 1d41cff3dc4c8f37bb5841f51fcbff705e169178 (diff) | |
parent | e7312d54f184e5c3e0f1ef29028f6dae8fa34a97 (diff) | |
download | nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.gz nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.bz2 nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.lz nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.xz nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.tar.zst nixpkgs-3bddcf5f9002814a8bec50025418faa3fd3f6138.zip |
Merge branch 'master' into option-docs-md
Diffstat (limited to 'nixos/modules/services/networking/syncthing.nix')
-rw-r--r-- | nixos/modules/services/networking/syncthing.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/syncthing.nix b/nixos/modules/services/networking/syncthing.nix index 26641618fb4..0b6b4bf9e5c 100644 --- a/nixos/modules/services/networking/syncthing.nix +++ b/nixos/modules/services/networking/syncthing.nix @@ -268,10 +268,10 @@ in { { versioning = { type = "staggered"; + fsPath = "/syncthing/backup"; params = { cleanInterval = "3600"; maxAge = "31536000"; - versionsPath = "/syncthing/backup"; }; }; } @@ -296,6 +296,14 @@ in { See <https://docs.syncthing.net/users/versioning.html>. ''; }; + fsPath = mkOption { + default = ""; + type = either str path; + description = mdDoc '' + Path to the versioning folder. + See <https://docs.syncthing.net/users/versioning.html>. + ''; + }; params = mkOption { type = attrsOf (either str path); description = mdDoc '' |