Added sway-session.target and stuff
This commit is contained in:
parent
4080b18d49
commit
e4b8dec303
|
@ -53,7 +53,7 @@ in with lib; {
|
|||
systemd.user.services.mako = {
|
||||
enable = true;
|
||||
description = "Mako foo";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
wantedBy = [ "sway-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
|
|
|
@ -61,9 +61,10 @@ in with lib; {
|
|||
};
|
||||
|
||||
systemd.user.services.sway = {
|
||||
enable = true;
|
||||
description = "Sway - Wayland window manager";
|
||||
documentation = [ "man:sway(5)" ];
|
||||
bindsTo = [ "graphical-session.target" ];
|
||||
bindsTo = [ "default.target" ];
|
||||
wants = [ "graphical-session-pre.target" ];
|
||||
after = [ "graphical-session-pre.target" ];
|
||||
# We explicitly unset PATH here, as we want it to be set by
|
||||
|
|
Reference in New Issue
Block a user