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