diff options
Diffstat (limited to 'os/srv/syncthing.nix')
| -rw-r--r-- | os/srv/syncthing.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/os/srv/syncthing.nix b/os/srv/syncthing.nix index b350428..2234b88 100644 --- a/os/srv/syncthing.nix +++ b/os/srv/syncthing.nix @@ -58,6 +58,22 @@ in params.keep = "10"; }; }; + + "sync" = { + path = "/home/${username}/sync"; + id = "sync"; + devices = [ + { + name = "oci"; + encryptionPasswordFile = config.sops.secrets."syncthing/encryption/sync".path; + compression = "metadata"; + } + ]; + versioning = { + type = "simple"; + params.keep = "3"; + }; + }; }; }; }; |
