nixy/zremap: add temporary fix for external kbd

This commit is contained in:
Asmir A 2024-05-07 11:21:51 +02:00
parent bf948813da
commit 1a6ab2840a
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -178,8 +178,16 @@
serviceConfig.Nice = -20; serviceConfig.Nice = -20;
script = '' script = ''
sleep 1 sleep 1
${zremap.defaultPackage.${system}}/bin/zremap \ KBD1="/dev/input/by-path/platform-i8042-serio-0-event-kbd"
/dev/input/by-path/platform-i8042-serio-0-event-kbd KBD2="/dev/input/by-path/pci-0000:07:00.3-usbv2-0:1.1.3.2:1.1-event-kbd"
if [ -L "$KBD1" ]; then
${zremap.defaultPackage.${system}}/bin/zremap "$KBD1" &
fi
if [ -L "$KBD2" ]; then
${zremap.defaultPackage.${system}}/bin/zremap "$KBD2" &
fi
wait
''; '';
}; };
}; };