Closed archie-judd closed 1 month ago
Hey @archie-judd. I was the author of https://github.com/LnL7/nix-darwin/commit/034c45dd0cac806b527e64c143020676e1070769 and have created a PR to fix the issue you encountered. Would be great if you could give the change a spin on your machine and let me know how it goes.
Hi @will-lol, that works for me! Thanks for taking a look.
Hi,
I recently updated my Nix Flake, and Karabiner Elements stopped working. Darwin is pointing at pointing Nixpkgs 24.05.
I checked the log in the UI and see repeated lines of
[info] [grabber] virtual_hid_device_service_client_ connect_failed: No such file or directory
after initialisation. This is the location of the error in Karabiner's source code and here is my log in the Karabiner Elements UI:I am using the services.karabiner-elements.enable option to enable Karabiner Elements, and I'm using home-manager as follows to symlink my karabiner.json file to
~/.config/karabiner
:I am syncing the whole folder, and restarting the
karabiner_console_user_server
on change, as recommended by Karabiner: https://karabiner-elements.pqrs.org/docs/manual/misc/configuration-file-path/#about-symbolic-link.I've tried various combinations of restart / removal and even a fresh OS install, with no luck.
Many thanks for any help or information on this.
EDIT: My flake update pushed Darwin from c8d3157d1f768e382de5526bb38e74d2245cad04 to bd7d1e3912d40f799c5c0f7e5820ec950f1e0b3d which includes this change to the Karabiner service: 034c45dd0cac806b527e64c143020676e1070769. If I roll-back to c8d3157d1f768e382de5526bb38e74d2245cad04, Karabiner starts working again for me, so perhaps an issue was introduced in 034c45dd0cac806b527e64c143020676e1070769.