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