summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-07-18 01:30:37 +0200
committermakefu <github@syntax-fehler.de>2018-07-18 01:30:37 +0200
commite00a76d30e4514cb5164fb658552fc1589e749e4 (patch)
tree9c9f7d41b8dca41b4d6aa3b95ce04067e85b9ce8 /makefu/2configs
parentecbfc932794aa5f1301e121876f244be7edcd133 (diff)
ma wbob.r: use mceusb
Diffstat (limited to 'makefu/2configs')
-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
+ '';
+ };
+ };
+
+}