m 2 hw/stk1160: init
This commit is contained in:
parent
b52979ae85
commit
e250280733
|
@ -61,6 +61,7 @@ with import <stockholm/lib>;
|
||||||
# hardware specifics are in here
|
# hardware specifics are in here
|
||||||
../2configs/hw/tp-x230.nix
|
../2configs/hw/tp-x230.nix
|
||||||
../2configs/hw/rtl8812au.nix
|
../2configs/hw/rtl8812au.nix
|
||||||
|
../2configs/hw/stk1160.nix
|
||||||
|
|
||||||
# mount points
|
# mount points
|
||||||
../2configs/fs/sda-crypto-root-home.nix
|
../2configs/fs/sda-crypto-root-home.nix
|
||||||
|
|
15
2configs/hw/stk1160.nix
Normal file
15
2configs/hw/stk1160.nix
Normal file
|
@ -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
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue