wayneko/module.nix: hopefully automatically starting wayneko
This commit is contained in:
parent
06139fc18a
commit
3b4cf54e62
1 changed files with 4 additions and 1 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue