2018-08-06 15:51:29 +00:00
|
|
|
{pkgs, lib, ...}:{
|
2018-07-17 23:30:37 +00:00
|
|
|
# Disable the MCE remote from acting like a keyboard. (We use lirc instead.)
|
|
|
|
services.xserver.inputClassSections = [''
|
|
|
|
Identifier "MCE USB Keyboard mimic blacklist"
|
|
|
|
Driver "mceusb"
|
|
|
|
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)"
|
|
|
|
Option "Ignore" "on"
|
|
|
|
''];
|
2018-08-06 15:51:29 +00:00
|
|
|
boot.kernelPatches = lib.singleton {
|
|
|
|
name = "enable-lirc";
|
|
|
|
patch = null;
|
|
|
|
extraConfig = ''
|
|
|
|
LIRC y
|
|
|
|
'';
|
2018-07-17 23:30:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|