Syncthing tray fix
This commit is contained in:
parent
6626767ef2
commit
60b23897bf
|
@ -42,10 +42,15 @@
|
|||
# Machine specific configuration
|
||||
services.emacs.defaultEditor = true;
|
||||
|
||||
systemd.user.targets.tray = {
|
||||
systemd.user = {
|
||||
targets.tray = {
|
||||
Unit = {
|
||||
Description = "Home Manager System Tray";
|
||||
Requires = [ "graphical-session-pre.target" ];
|
||||
Requires = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
services.syncthingtray = {
|
||||
Service.ExecStart = lib.mkForce "${pkgs.syncthingtray}/bin/syncthingtray --wait";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue