ma hw/mceusb: use boot.kernelPatches
This commit is contained in:
parent
e48a0723a9
commit
c9e81b8dfd
|
@ -1,4 +1,4 @@
|
||||||
{pkgs,...}:{
|
{pkgs, lib, ...}:{
|
||||||
# Disable the MCE remote from acting like a keyboard. (We use lirc instead.)
|
# Disable the MCE remote from acting like a keyboard. (We use lirc instead.)
|
||||||
services.xserver.inputClassSections = [''
|
services.xserver.inputClassSections = [''
|
||||||
Identifier "MCE USB Keyboard mimic blacklist"
|
Identifier "MCE USB Keyboard mimic blacklist"
|
||||||
|
@ -6,13 +6,12 @@
|
||||||
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)"
|
MatchProduct "Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)"
|
||||||
Option "Ignore" "on"
|
Option "Ignore" "on"
|
||||||
''];
|
''];
|
||||||
boot.kernelPackages = builtins.trace "Using linux kernel 4.16, not latest" pkgs.linuxPackages_4_16;
|
boot.kernelPatches = lib.singleton {
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
name = "enable-lirc";
|
||||||
linux_4_16 = pkgs.linux_4_16.override {
|
patch = null;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
LIRC y
|
LIRC y
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user