2018-08-06 17:51:29 +02:00
|
|
|
{pkgs, lib, ...}:{
|
2018-07-18 01:30:37 +02: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 17:51:29 +02:00
|
|
|
boot.kernelPatches = lib.singleton {
|
|
|
|
name = "enable-lirc";
|
|
|
|
patch = null;
|
|
|
|
extraConfig = ''
|
|
|
|
LIRC y
|
|
|
|
'';
|
2018-07-18 01:30:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|