use the right path

This commit is contained in:
2025-06-24 14:39:45 +02:00
parent 524fc532ed
commit 7a538e379a

View File

@@ -14,6 +14,8 @@
# Ensure the uinput group exists
users.groups.uinput = { };
services.libinput.enable = true;
# Add the Kanata service user to necessary groups
systemd.services.kanata-internalKeyboard.serviceConfig = {
SupplementaryGroups = [
@@ -29,13 +31,13 @@
devices = [
# Replace the paths below with the appropriate device paths for your setup.
# Use `ls /dev/input/by-path/` to find your keyboard devices.
"pci-0000:66:00.0-usb-0:2.3:1.0-event-kbd"
"pci-0000:66:00.0-usb-0:2.4:1.0-event-kbd"
"pci-0000:66:00.0-usb-0:2.4:1.2-event-kbd"
"pci-0000:66:00.0-usbv2-0:2.3:1.0-event-kbd"
"pci-0000:66:00.0-usbv2-0:2.4:1.0-event-kbd"
"pci-0000:66:00.0-usbv2-0:2.4:1.2-event-kbd"
"platform-i8042-serio-0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.3:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.4:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.4:1.2-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.3:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.4:1.0-event-kbd"
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.4:1.2-event-kbd"
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
];
extraDefCfg = "process-unmapped-keys yes";
config = ''