54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
|
{ pkgs ? import <nixpkgs> { } }:
|
||
|
|
||
|
pkgs.callPackage ../../coreboot.nix {
|
||
|
# last known good
|
||
|
rev = "d8bc5c127ad13ed0475bbf7465f6ba56a5fa34ee";
|
||
|
sources = pkgs.callPackage ./sources.nix { };
|
||
|
|
||
|
conf = {
|
||
|
# main
|
||
|
vendor.lenovo = true;
|
||
|
board.lenovo-x230 = true;
|
||
|
|
||
|
# drivers
|
||
|
tpm-deactivate = true;
|
||
|
drivers-ps2-keyboard = true;
|
||
|
pciexp = {
|
||
|
hotplug = true;
|
||
|
clk-pm = true;
|
||
|
l1-sub-state = true;
|
||
|
};
|
||
|
|
||
|
# display
|
||
|
bootsplash = true;
|
||
|
generic-linear-framebuffer = true;
|
||
|
linear-framebuffer = {
|
||
|
max-width = 1024;
|
||
|
max-height = 768;
|
||
|
};
|
||
|
|
||
|
# custom bootsplash
|
||
|
bootsplash-image = true;
|
||
|
bootsplash-file = ./bootsplash.jpg;
|
||
|
|
||
|
# payload
|
||
|
seabios = {
|
||
|
revision = true;
|
||
|
revision_id = "ef88eeaf052c8a7d28c5f85e790c5e45bcffa45e";
|
||
|
};
|
||
|
|
||
|
# blobs
|
||
|
have-ifd-bin = true;
|
||
|
have-me-bin = true;
|
||
|
have-gbe-bin = true;
|
||
|
ifd-bin-path = ./blobs/ifd.bin;
|
||
|
me-bin-path = ./blobs/me.bin;
|
||
|
gbe-bin-path = pkgs.callPackage ../../gbe.nix { macAddress = "e5:36:eb:9b:6c:3e"; };
|
||
|
|
||
|
# neutralise me
|
||
|
check-me = true;
|
||
|
use-me-cleaner = true;
|
||
|
};
|
||
|
|
||
|
}
|