corenix: update uwu coreboot configuration

This changes the default boot payload to grub, which then loads
secondary payloads, or can boot NixOS directly.  Also include a better
boot splash screen.
wip/yesman
Katharina Fey 3 years ago
parent c0a541a38e
commit 399affe03e
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. BIN
      infra/corenix/configs/kookie/splash.png
  2. 23
      infra/corenix/configs/kookie/uwu.nix
  3. 1
      infra/corenix/default.nix

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

@ -5,16 +5,27 @@
grub2 = {
enable = true;
extraPayloadModules = [ "luks" "crypto" "gcry_sha256"
"gcry_rijndael" "pbkdf2" ];
extraPayloadModules = [ "luks" "crypto" "gcry_sha256" "lvm"
"gcry_rijndael" "pbkdf2" "jpeg" ];
extraConfig = ''
set timeout=10
menuentry "NixOS" {
cryptomount -u f1440abd-99e3-46a8-aa36-7824972fee54
search --set=cryptdrive --fs-uuid 672c497c-18aa-4b00-ac95-78e810363d81
configfile ($cryptdrive)/grub/grub.cfg
insmod luks
insmod crypto
insmod gcry_sha256
insmod gcry_rijndael
insmod pbkdf2
insmod lvm
cryptomount -a
configfile (lvm/vg0-boot)/grub/grub.cfg
}
'';
};
tint.enable = true;
nvramcui.enable = true;
seabios = {
enable = true;
@ -27,6 +38,6 @@
CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT = "768";
};
extraFiles."background.jpg".src = lib.mkForce ./splash.jpg;
extraFiles."background.png".src = lib.mkForce ./splash.png;
};
}

@ -31,4 +31,5 @@ in rec {
milan-x1c = makeDevice ./configs/milan/milan-x1c.nix;
milan-x230t = makeDevice ./configs/milan/milan-x230t.nix;
milan-x230-fhd = makeDevice ./configs/milan/milan-x230-fhd.nix;
kookie-uwu = makeDevice ./configs/kookie/uwu.nix;
}

Loading…
Cancel
Save