-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
(22.11) openrazer module doesn't make user service available #224371
Comments
Update: still not working as expected in 23.05. Using service exec line to run the service works without any issues (the file is created, just not used by systemd).
so it seems like running the service/making it run on default.target works, it just doesn't use the derivations output to run it? |
Do you have https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/hardware/openrazer.nix#L98 |
Yes, i am using the name from
(forgot to include that in the question, sorry) |
ok found the issue, for some reason i do not understand there was always a symlink to a previous generations' output in the .config/systemd directory, that way it looked legit to me but i just didn't know that it was actually pointing to nothing. Solved now :) |
Describe the bug
The service file for the openrazer-daemon.service is created (checked via
ls /nix/store
), but not executed. It can also not be found bysystemctl
.Steps To Reproduce
Steps to reproduce the behavior:
hardware.openrazer.enable = true
in configI really don't know what else could lead to this behaviour
Expected behavior
systemctl --user ...
Additional context
When i manually copy the exec line from the service file that is being created, i can start the daemon (which also indicates that the daemon is not started by sysd, as you would get "unable to lock on the pidfile" otherwise.
Please tell me if something like this was fixed some time ago, as i have last updated my systems flake.lock one month ago (updates always take ages due to my network connection).EDIT: updated to latest 22.11 revision, problem persists
whats weird, is that all other user services that i am aware of seem to be functioning properly, openrazer is the only bad fruit here
Metadata
(Flake system, no channels)
The text was updated successfully, but these errors were encountered: