-
Notifications
You must be signed in to change notification settings - Fork 0
Description
First off, thank you for this script, it looks exactly like what I was searching for. However, it doesn't seem to work for me...
When executing "systemctl --user restart iiorient.service" and then checking journalctl, I find the following line:
"Mai 27 21:19:47 nixpad iiorient.sh[30708]: /nix/store/lfhip9xx882n65p19l4ck9j43nic4b6g-iiorient.sh/bin/iiorient.sh: line 10: xargs: command not found"
I am using a ThinkPad L13 Yoga Gen2, NixOS unstable, standalone Home-Manager and Hyprland.
I have downloaded the iiorient.nix module into .config/nixos/users/nico/modules/iio/iiorient.nix, imported this into my home.nix and added the following into home.nix:
services.iiorient = {
enable = true;
devices = [ "wacom-hid-51f8-finger" ];
monitors = [ "eDP-1" ];
};
Doing a home-manager switch shows the info "Suggested commands: systemctl --user restart iiorient.service" at the end.
I can't find the service anywhere when executing "systemctl --type=service --all".
There also is no new .sh file generated in /bin/
The monitor-sensor command works as expected, executing the script at the top of the iiorient.nix manually also works.