The tray might not yet be available, by specifying `--wait`, we can tell syncthing-tray to wait for the tray to be available.
12 lines
203 B
Nix
12 lines
203 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config.services.syncthing = {
|
|
enable = true;
|
|
tray = {
|
|
enable = true;
|
|
command = "syncthingtray --wait";
|
|
};
|
|
extraOptions = [ "--wait" ];
|
|
};
|
|
}
|