Syncthing tray fix

This commit is contained in:
Nathan McCarty 2025-01-10 15:50:29 -05:00
parent 6626767ef2
commit 60b23897bf

View file

@ -42,10 +42,15 @@
# Machine specific configuration # Machine specific configuration
services.emacs.defaultEditor = true; services.emacs.defaultEditor = true;
systemd.user.targets.tray = { systemd.user = {
targets.tray = {
Unit = { Unit = {
Description = "Home Manager System Tray"; 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";
}; };
}; };
} }