1
1
Fork 0

hypridle: fix service start before graphical-session.target

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-24 09:24:53 -05:00
parent d20ba24b96
commit 99e0c4ec14
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -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
};
};
};
}