-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: hyprlock and hypridle not working in NixOS with Home Manager #5899
Comments
Do you have your nixos/hm config anywhere? |
Sure. I'm using a flakes-based setup with Home Manager integrated via the flake, not as a separate tool. general structure
configs
|
I've just checked, and there doesn't seem to be any issue with the modules themselves. For example, checking the diff between hypridle and hyprpaper, the only differences are the names and the example config. Now I'm checking the obvious, but have you enabled hypridle/hyprlock? |
Yes, Moving all hyprlock settings to the However, there doesn't appear to be an |
Correction: The hypridle config is generated at admin@machine-z ~
❯ ls /nix/store | rg hypridle
0bxazkddh9vlf708x3grkxvd8pz1x0li-hypridle-0.1.2
28g46b8p4hll15nwrw1iszvsgg7ddd77-hm_hyprhypridle.conf
akqffmrgvnh35fc1blfc75n40id3y3w8-hypridle-0.1.2
hdgb95i2g1l7z30slgc0z8v3xlyxglqz-hypridle.service.drv
jq5r1pfx9cww7xcljzhg6awv03jgg8fc-hypridle-0.1.2.drv
k1y1z0wsqwggydghnr50p7p4nd1fpn7a-hypridle.service
md2d79am59a7wkavc76348rmlw9yz7dr-hypridle-0.1.2.drv
xmrszayh6f4812rgja0g8id8r55xmcsh-hm_hyprhypridle.conf.drv
admin@machine-z ~
❯ which hypridle
hypridle not found
admin@machine-z ~
❯ systemctl status hypridle
Unit hypridle.service could not be found. |
As per the module, the package is not added to PATH, but only used by the service. The fact that the service does not appear might mean you have not logged out/in? |
having similar issue with services.hypridle = {
enable = true;
}; hyprland.conf
and configuring timers the regular way in would love to have it configured via |
Having the same issue with hyprpaper, so at least the issue is consistent. For references here is the config for hyprpaper that I am using:
If I run Using the addition of
in my Home Manager config therefore fixes the issue. |
I'm not sure if it's related to this particular issue, but I see this in hypridle's logs:
I guess it's related to this: https://wiki.hyprland.org/Nix/Hyprland-on-Home-Manager/#programs-dont-work-in-systemd-services-but-do-on-the-terminal Although I use HM to configure Hyprland, it still didn't work for me. This is how I solved it for now:
|
Are you following the right branch?
Is there an existing issue for this?
Issue description
I'm having issues getting
hyprlock
andhypridle
to work in my NixOS setup using Home Manager. I'm able to build the system without any errors and the packages are present in the Nix store, but the commands and services are not found, and no configuration is generated.Potentially related issues:
What I've Tried:
which
~/.config/hypr/
System Information:
Service Status:
No Configs Generated:
Nix Store:
Configuration:
Maintainer CC
@khaneliman @fufexan
System information
The text was updated successfully, but these errors were encountered: