use secrets in syncthing

This commit is contained in:
2024-06-05 23:04:52 +03:00
parent 39e2800916
commit 062609fabf
2 changed files with 4 additions and 0 deletions

View File

@@ -126,6 +126,8 @@ in {
services.syncthing = {
inherit (cfg) enable user group dataDir;
openDefaultPorts = true;
key = config.age.secrets.syncthing-key.path;
cert = config.age.secrets.syncthing-cert.path;
settings = {
devices =