phantom: set default syncthing password

This commit is contained in:
Leonardo Eugênio 2026-02-22 09:39:54 -03:00
parent 5b01cf9169
commit c70164709e
2 changed files with 14 additions and 2 deletions

View file

@ -11,6 +11,10 @@
dataDir = "/var/lib/syncthing-data";
guiAddress = "0.0.0.0:8384";
openDefaultPorts = true;
guiPasswordFile = config.sops.secrets."syncthing/password".path;
settings.gui = {
user = "lelgenio";
};
};
services.nginx.virtualHosts."syncthing.lelgenio.com" = {
@ -26,4 +30,10 @@
"proxy_pass_header Authorization;";
};
};
sops.secrets."syncthing/password" = {
mode = "400";
owner = "syncthing";
group = "syncthing";
};
}