mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
@@ -213,11 +213,11 @@ let
|
||||
|
||||
defaultSyncthingArgs = [
|
||||
"${syncthing}"
|
||||
"-no-browser"
|
||||
"-no-restart"
|
||||
"-no-upgrade"
|
||||
"-gui-address=${if isUnixGui then "unix://" else ""}${cfg.guiAddress}"
|
||||
"-logflags=0"
|
||||
"serve"
|
||||
"--no-browser"
|
||||
"--no-restart"
|
||||
"--no-upgrade"
|
||||
"--gui-address=${if isUnixGui then "unix://" else ""}${cfg.guiAddress}"
|
||||
];
|
||||
|
||||
syncthingArgs = defaultSyncthingArgs ++ cfg.extraOptions;
|
||||
|
||||
@@ -19,7 +19,7 @@ lib.mkMerge [
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/systemd/user/syncthing.service
|
||||
assertFileContains home-files/.config/systemd/user/syncthing.service \
|
||||
"ExecStart=@syncthing@/bin/syncthing -no-browser -no-restart -no-upgrade '-gui-address=127.0.0.1:8384' '-logflags=0' -foo '-bar \"baz\"'"
|
||||
"ExecStart=@syncthing@/bin/syncthing serve --no-browser --no-restart --no-upgrade '--gui-address=127.0.0.1:8384' -foo '-bar \"baz\"'"
|
||||
'';
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user