From 0e26b335b78b25a7f195c418f6b08f810c713191 Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Tue, 25 Feb 2025 17:06:23 -0700 Subject: [PATCH] fix(syncthing): Persist Syncthing config (and thus ID) --- modules/nixos/syncthing.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/syncthing.nix b/modules/nixos/syncthing.nix index 8d2b8a8..4fe2d98 100644 --- a/modules/nixos/syncthing.nix +++ b/modules/nixos/syncthing.nix @@ -26,6 +26,10 @@ in { "nginx" ]; + sydnix.impermanence.directories = [ + "/var/lib/syncthing" + ]; + sydnix.deertopia.nginx.vhosts."syncthing".vhost = { forceSSL = true; enableACME = true;