udev: Disable internal keyboard for now

Necessary since the current keyboard has too many broken keys.
This commit is contained in:
Donovan Glover 2024-03-07 21:55:16 -05:00
parent 48f9d1a87f
commit 093f085630
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,7 @@
./systemd.nix ./systemd.nix
./thunar.nix ./thunar.nix
./timezone.nix ./timezone.nix
./udev.nix
./user.nix ./user.nix
./virtualization.nix ./virtualization.nix
./wine.nix ./wine.nix

5
modules/udev.nix Normal file
View File

@ -0,0 +1,5 @@
{
services.udev.extraRules = ''
KERNEL=="event*", ATTRS{name}=="AT Translated Set 2 keyboard", ENV{LIBINPUT_IGNORE_DEVICE}="1"
'';
}