From 9a2c1f1d46b6884de18035c048676db811192ac3 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Sun, 17 Mar 2024 23:35:10 +0100 Subject: [PATCH] fix(home): Start syncthing tray and wait The tray might not yet be available, by specifying `--wait`, we can tell syncthing-tray to wait for the tray to be available. --- home/alex/services/syncthing/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/alex/services/syncthing/default.nix b/home/alex/services/syncthing/default.nix index e4cd999..09da598 100644 --- a/home/alex/services/syncthing/default.nix +++ b/home/alex/services/syncthing/default.nix @@ -3,6 +3,10 @@ { config.services.syncthing = { enable = true; - tray.enable = true; + tray = { + enable = true; + command = "syncthingtray --wait"; + }; + extraOptions = [ "--wait" ]; }; }