fix: syncthing cucked

This commit is contained in:
Nick 2025-12-09 16:34:38 -06:00
parent 3a3a41db93
commit 7eca7beb01
2 changed files with 12 additions and 2 deletions

View file

@ -39,6 +39,7 @@ in
openDefaultPorts = true;
systemService = true;
guiAddress = "0.0.0.0:${toString serviceCfg.ports.port0}";
guiPasswordFile = "/run/secrets/${user}-pass";
settings = {
folders = folders;
devices = devices;
@ -146,5 +147,12 @@ in
"d ${mnt}/${serviceCfg.name} 0751 microvm wheel - -"
]
++ tmpOut;
sops.secrets = {
"${serviceCfg.name}/${user}-pass" = {
owner = "root";
mode = "0600";
};
};
};
}