From 7c8503e8fa77cb20819e2ba5a6a0f1a261cf089f Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 10 May 2026 23:02:01 +0200 Subject: added basic configuration for nginx, oci-containers and simplex-chat servers --- os/srv/syncthing.nix | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'os/srv/syncthing.nix') 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 = { -- cgit v1.3