Hopefully fix syncthing tray
This commit is contained in:
parent
cf5c5bd0fd
commit
b1db5c1d73
1 changed files with 7 additions and 6 deletions
|
@ -52,14 +52,15 @@
|
||||||
services.emacs.defaultEditor = true;
|
services.emacs.defaultEditor = true;
|
||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
targets.tray = {
|
# targets.tray = {
|
||||||
Unit = {
|
# Unit = {
|
||||||
Description = "Home Manager System Tray";
|
# Description = "Home Manager System Tray";
|
||||||
Requires = ["graphical-session.target"];
|
# Requires = ["graphical-session.target"];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
services.syncthingtray = {
|
services.syncthingtray = {
|
||||||
Service.ExecStart = lib.mkForce "${pkgs.syncthingtray}/bin/syncthingtray --wait";
|
Service.ExecStart = lib.mkForce "${pkgs.syncthingtray}/bin/syncthingtray --wait";
|
||||||
|
Unit.Requires = lib.mkForce ["graphical-session.target"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue