quickshell: keychron mouse battery in bar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-19 09:32:46 +01:00
parent 54f7c1123b
commit e18ee80a1a
2 changed files with 102 additions and 0 deletions

View file

@ -36,10 +36,13 @@
# Nova Pro Wireless base station: open up its vendor HID interface so
# quickshell's ANC switcher can write to it directly (nova-anc script in
# settings/quickshell.nix). Single-user desktop, 0666 is fine.
# Keychron (receiver + wired mouse) likewise for the bar's mouse-battery
# readout; also lets the Keychron Launcher's WebHID reach it.
services.udev.extraRules = ''
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="12e0", MODE="0666"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="12e5", MODE="0666"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="225d", MODE="0666"
KERNEL=="hidraw*", ATTRS{idVendor}=="3434", MODE="0666"
'';
# Force heavy builds off the gaming PC onto the media server so nix updates