summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-04-24 11:18:37 +0200
committermakefu <github@syntax-fehler.de>2017-04-24 11:18:37 +0200
commit96a49430c10ae6f3086b4e3fd16bf73d77bd9188 (patch)
tree3b6b54383c06768e03656f1c8a92bb27a5c6a73d /makefu/2configs
parent01e2f49b7600472f2464201c6330c1d6ea16e0e6 (diff)
m 2 hw/stk1160: init
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/hw/stk1160.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefu/2configs/hw/stk1160.nix b/makefu/2configs/hw/stk1160.nix
new file mode 100644
index 000000000..b4d033d76
--- /dev/null
+++ b/makefu/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_4_9;
+ 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
+ '';
+ };
+ };
+}