fix syncthing

This commit is contained in:
2025-09-03 16:13:18 +02:00
parent 9e4204f042
commit 3b90796787
2 changed files with 6 additions and 4 deletions

View File

@@ -348,14 +348,14 @@ in {
serviceConfig = {
ProgramArguments = [
"${cfg.package}/bin/syncthing"
"-no-browser"
"-gui-address=${
"--no-browser"
"--gui-address=${
if isUnixGui
then "unix://"
else ""
}${cfg.guiAddress}"
"-config=${cfg.configDir}"
"-data=${cfg.configDir}"
"--config=${cfg.configDir}"
"--data=${cfg.configDir}"
];
EnvironmentVariables = {
STNORESTART = "yes";