hypridle: fix service start before graphical-session.target
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
d20ba24b96
commit
99e0c4ec14
1 changed files with 8 additions and 0 deletions
|
@ -47,5 +47,13 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# BUG: graphical-session-pre.target may not have WAYLAND_DISPLAY set, so service is skipped
|
||||||
|
# https://github.com/nix-community/home-manager/issues/5899
|
||||||
|
systemd.user.services.hypridle = {
|
||||||
|
Unit = {
|
||||||
|
After = mkForce ["graphical-session.target"]; # graphical-session-pre.target
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue