diff options
| author | adikro <adikro@disroot.org> | 2026-05-10 23:02:01 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-05-10 23:02:01 +0200 |
| commit | 7c8503e8fa77cb20819e2ba5a6a0f1a261cf089f (patch) | |
| tree | 212001f743fba7224ac57007e1a499c7615c0b19 /os/srv/syncthing.nix | |
| parent | baf1cf5664b481de17849c97dc683fa81ade1c2e (diff) | |
added basic configuration for nginx, oci-containers and simplex-chat servers
Diffstat (limited to 'os/srv/syncthing.nix')
| -rw-r--r-- | os/srv/syncthing.nix | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/os/srv/syncthing.nix b/os/srv/syncthing.nix index 2234b88..28806f1 100644 --- a/os/srv/syncthing.nix +++ b/os/srv/syncthing.nix @@ -24,6 +24,40 @@ in devices."oci".id = "DQXGVDC-KGPM6RK-5NDEBJJ-R7PEWYZ-N6Z3WFZ-TSVJG5X-235SHG4-4BEJNQJ"; folders = { + "openmw-config" = { + path = "/home/${username}/.config/openmw"; + id = "openmw-config"; + devices = [ + { + name = "oci"; + encryptionPasswordFile = config.sops.secrets."syncthing/encryption/openmw-config".path; + } + ]; + versioning = { + type = "simple"; + params.keep = "3"; + }; + ignorePatterns = [ + "settings.cfg" + "*.log" + ]; + }; + + "openmw-mods" = { + path = "/home/${username}/games/openmw"; + id = "openmw-mods"; + devices = [ + { + name = "oci"; + encryptionPasswordFile = config.sops.secrets."syncthing/encryption/openmw-mods".path; + } + ]; + versioning = { + type = "trashcan"; + params.cleanoutDays = "7"; + }; + }; + "game-saves" = { path = "/home/${username}/.saves"; id = "game-saves"; @@ -31,7 +65,6 @@ in { name = "oci"; encryptionPasswordFile = config.sops.secrets."syncthing/encryption/game-saves".path; - compression = "always"; } ]; versioning = { @@ -50,7 +83,6 @@ in { name = "oci"; encryptionPasswordFile = config.sops.secrets."syncthing/encryption/keepass".path; - compression = "metadata"; } ]; versioning = { @@ -66,7 +98,6 @@ in { name = "oci"; encryptionPasswordFile = config.sops.secrets."syncthing/encryption/sync".path; - compression = "metadata"; } ]; versioning = { |
