From e2502807337c3085573e349f502f821ecc27a7a7 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 24 Apr 2017 11:18:37 +0200 Subject: [PATCH] m 2 hw/stk1160: init --- 1systems/x.nix | 1 + 2configs/hw/stk1160.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 2configs/hw/stk1160.nix diff --git a/1systems/x.nix b/1systems/x.nix index 866aac3..65df426 100644 --- a/1systems/x.nix +++ b/1systems/x.nix @@ -61,6 +61,7 @@ with import ; # hardware specifics are in here ../2configs/hw/tp-x230.nix ../2configs/hw/rtl8812au.nix + ../2configs/hw/stk1160.nix # mount points ../2configs/fs/sda-crypto-root-home.nix diff --git a/2configs/hw/stk1160.nix b/2configs/hw/stk1160.nix new file mode 100644 index 0000000..b4d033d --- /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_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 + ''; + }; + }; +}