diff options
author | makefu <github@syntax-fehler.de> | 2018-08-06 17:50:10 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-08-06 17:50:10 +0200 |
commit | e48a0723a9679408d88ff3b2452ff78fe407e33a (patch) | |
tree | d3adbfbf48c41883e20a2a7b1e1dcbfcf0f1cdc1 /makefu/2configs/hw/stk1160.nix | |
parent | 44b0190c33b9276167ac699a825503c8e9866654 (diff) |
ma hw/stk1160: fix TODO
Diffstat (limited to 'makefu/2configs/hw/stk1160.nix')
-rw-r--r-- | makefu/2configs/hw/stk1160.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/makefu/2configs/hw/stk1160.nix b/makefu/2configs/hw/stk1160.nix index 4ac639a25..735cb4c17 100644 --- a/makefu/2configs/hw/stk1160.nix +++ b/makefu/2configs/hw/stk1160.nix @@ -1,13 +1,12 @@ { pkgs, lib, ... }: { - # TODO: un-pin linuxPackages somehow - nixpkgs.config.packageOverrides = pkgs: { - linux_4_14 = pkgs.linux_4_14.override { - extraConfig = '' - MEDIA_ANALOG_TV_SUPPORT y - VIDEO_STK1160_COMMON m - VIDEO_STK1160 m - ''; - }; + boot.kernelPatches = lib.singleton { + name = "enable-stk1160"; + patch = null; + extraConfig = '' + MEDIA_ANALOG_TV_SUPPORT y + VIDEO_STK1160_COMMON m + VIDEO_STK1160 m + ''; }; } |