summaryrefslogtreecommitdiffstats
path: root/2configs/hw
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-01-28 13:57:55 +0100
committermakefu <github@syntax-fehler.de>2018-01-28 13:57:55 +0100
commita787a175e5869e7ac0a06e1a6ace0fd77dc2101f (patch)
treef2113a10ff835a1802f3a08d74363ce1934eaf9e /2configs/hw
parentfffb4fa997f1fa84f12e198b56ec035d436bad1a (diff)
Revert "ma hw/stk1160: rip"
This reverts commit 1cbc2e5aa359e7e9b4b32c9ef75902576347a6d0.
Diffstat (limited to '2configs/hw')
-rw-r--r--2configs/hw/stk1160.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/2configs/hw/stk1160.nix b/2configs/hw/stk1160.nix
new file mode 100644
index 000000000..b3a9e1a5a
--- /dev/null
+++ b/2configs/hw/stk1160.nix
@@ -0,0 +1,15 @@
+{ pkgs, ... }:
+{
+ # TODO: un-pin linuxPackages somehow
+ boot.kernelPackages = builtins.trace "Warning: overriding kernel Packages with 4.9" pkgs.linuxPackages;
+ nixpkgs.config.packageOverrides = pkgs: {
+ linux_4_9 = pkgs.linux_4_9.override {
+ extraConfig = ''
+ MEDIA_ANALOG_TV_SUPPORT y
+ VIDEO_STK1160_COMMON m
+ VIDEO_STK1160_AC97 y
+ VIDEO_STK1160 m
+ '';
+ };
+ };
+}