nixos-config/home/alex/services/syncthing/default.nix
Alexander Kobjolke c619ba5767 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-03-17 23:35:10 +01:00

12 lines
203 B
Nix

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