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 | dee8a5e039bde5857a294de8bcb1f0f3c09d75fd (patch) | |
tree | 7b38288340aa100aca9179c8acd9c92a8e1dfa0f /2configs/hw/stk1160.nix | |
parent | 11d658d97eeeb6ab4dabcf4fa47c98e2b83c4c33 (diff) |
ma hw/stk1160: fix TODO
Diffstat (limited to '2configs/hw/stk1160.nix')
-rw-r--r-- | 2configs/hw/stk1160.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/2configs/hw/stk1160.nix b/2configs/hw/stk1160.nix index 4ac639a25..735cb4c17 100644 --- a/2configs/hw/stk1160.nix +++ b/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 + ''; }; } |