wayneko/module.nix: hopefully automatically starting wayneko

This commit is contained in:
Charlie Root 2025-03-08 12:44:34 +01:00
commit 3b4cf54e62
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E

View file

@ -9,8 +9,11 @@ in {
systemd.user.services.wayneko = { systemd.user.services.wayneko = {
description = "Wayneko, as a systemd service"; description = "Wayneko, as a systemd service";
# makes the graphical session start this service when it starts
wantedBy = ["graphical-session.target"]; wantedBy = ["graphical-session.target"];
wants = ["graphical-session.target"]; # when graphical session restarts or gets stopped, this also gets restarted/stopped.
partOf = ["graphical-session.target"];
# gets started only after graphical session
after = ["graphical-session.target"]; after = ["graphical-session.target"];
serviceConfig = { serviceConfig = {