You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently updated my NixOS setup and switched from the hypridle flake module to the one in Home Manager. I noticed that hypridle does not do anything when I try to lock my session with loginctl lock-session. I checked the status of the systemd service with systemctl --user status hypridle.service and got the following output:
○ hypridle.service - hypridle
Loaded: loaded (/home/anomalocaris/.config/systemd/user/hypridle.service; enabled; preset: enabled)
Active: inactive (dead)
Condition: start condition unmet at Tue 2024-05-14 23:10:00 EDT; 5min ago
└─ ConditionEnvironment=WAYLAND_DISPLAY was not met
May 14 23:10:00 home-pc systemd[3088]: hypridle was skipped because of an unmet condition check (ConditionEnvironment=WAYLAND_DISPLAY).
I am using Hyprland on NixOS unstable. When I manually run systemctl --user start hypridle.service, hypridle works as expected.
Anomalocaridid
changed the title
bug: hypridle skipped because of an unmet condition
bug: hypridle service skipped because of an unmet condition
May 15, 2024
WAYLAND_DISPLAY should be set by Hyprland in a graphical session. Are you using the hyprland home-manager module, as well? I believe we do some stuff with passing along the WAYLAND_DISPLAY variable in
I am using the hyprland home-manager module. However I realized that this is probably not a bug with home-manager. Rather I think it's probably this PR I am using: NixOS/nixpkgs#297434. It apparently causes issues with services that rely on graphical-session.target.
Are you following the right branch?
Is there an existing issue for this?
Issue description
I recently updated my NixOS setup and switched from the
hypridle
flake module to the one in Home Manager. I noticed that hypridle does not do anything when I try to lock my session withloginctl lock-session
. I checked the status of the systemd service withsystemctl --user status hypridle.service
and got the following output:I am using Hyprland on NixOS unstable. When I manually run
systemctl --user start hypridle.service
,hypridle
works as expected.Maintainer CC
@khaneliman
@fufexan
System information
The text was updated successfully, but these errors were encountered: