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 = { serviceConfig = {
ProgramArguments = [ ProgramArguments = [
"${cfg.package}/bin/syncthing" "${cfg.package}/bin/syncthing"
"-no-browser" "--no-browser"
"-gui-address=${ "--gui-address=${
if isUnixGui if isUnixGui
then "unix://" then "unix://"
else "" else ""
}${cfg.guiAddress}" }${cfg.guiAddress}"
"-config=${cfg.configDir}" "--config=${cfg.configDir}"
"-data=${cfg.configDir}" "--data=${cfg.configDir}"
]; ];
EnvironmentVariables = { EnvironmentVariables = {
STNORESTART = "yes"; STNORESTART = "yes";

View File

@@ -3,8 +3,10 @@ with pkgs; [
(callPackage ./bin/open-project.nix {}) (callPackage ./bin/open-project.nix {})
age age
alejandra alejandra
ast-grep
delta delta
devenv devenv
dig
docker docker
docker-compose docker-compose
fastfetch fastfetch