diff options
| author | adikro <adikro@disroot.org> | 2026-04-19 14:22:05 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-04-19 14:22:05 +0200 |
| commit | 97eec64e5b301c9b25a31289ef909df2f2eb11e5 (patch) | |
| tree | 8eabed219255d3a2c01b95d6217b3b41453c43fc /os/srv/syncthing.nix | |
| parent | c5e8dbead2c96d178e5cce2190581ca3e0381a8a (diff) | |
added sunshine and tailscale
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"; + }; + }; }; }; }; |
