nixos-config/home/alex/services/syncthing/default.nix
Alexander Kobjolke 9a2c1f1d46 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.
2024-05-28 20:35:18 +02:00

12 lines
203 B
Nix

{ config, lib, pkgs, ... }:
{
config.services.syncthing = {
enable = true;
tray = {
enable = true;
command = "syncthingtray --wait";
};
extraOptions = [ "--wait" ];
};
}