syncthing setup

This commit is contained in:
Henri Dohmen 2025-12-30 13:54:59 +01:00
parent 24df8a251b
commit 52c074f973
Signed by: hd
GPG key ID: AB79213B044674AE
19 changed files with 244 additions and 16 deletions

View file

@ -1,6 +1,19 @@
{ ... }:
let
guiAddress = "127.0.0.1:8384";
in
{
services.syncthing = {
enable = false; # TODO
enable = true;
inherit guiAddress;
};
services.nginx = {
privateVirtualHosts."syncthing.roam.lan" = {
locations."/" = {
proxyPass = "http://${guiAddress}/";
proxyWebsockets = true;
};
};
};
}