summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/hw
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-07-28 19:19:17 +0200
committerlassulus <lass@blue.r>2018-07-28 19:19:17 +0200
commit8d281b3dde22cca048b1ea02360906c66a7f4246 (patch)
tree6faa37ffa82718e2b164aaafdc44bf79df8b3430 /makefu/2configs/hw
parent2712a197eb1e9a0534fe949594ad9f5f2206d195 (diff)
parent54990bce8941dfc9b38504fbff357cadd66354a3 (diff)
Merge remote-tracking branch 'prism/makefu'
Diffstat (limited to 'makefu/2configs/hw')
-rw-r--r--makefu/2configs/hw/mceusb.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefu/2configs/hw/mceusb.nix b/makefu/2configs/hw/mceusb.nix
new file mode 100644
index 000000000..c1d6f5651
--- /dev/null
+++ b/makefu/2configs/hw/mceusb.nix
@@ -0,0 +1,18 @@
+{pkgs,...}:{
+ # 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"
+ ''];
+ boot.kernelPackages = builtins.trace "Using linux kernel 4.16, not latest" pkgs.linuxPackages_4_16;
+ nixpkgs.config.packageOverrides = pkgs: {
+ linux_4_16 = pkgs.linux_4_16.override {
+ extraConfig = ''
+ LIRC y
+ '';
+ };
+ };
+
+}