Hopefully fix syncthing tray

This commit is contained in:
Nathan McCarty 2025-04-17 13:23:54 -04:00
parent cf5c5bd0fd
commit b1db5c1d73

View file

@ -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"];
}; };
}; };