corenix: change uwu coreboot to use grub2

wip/yesman
Katharina Fey 3 years ago
parent 0cd7d2d430
commit 01ebfa7aac
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. 17
      infra/corenix/configs/kookie/uwu.nix
  2. 1
      infra/corenix/flake.nix

@ -3,7 +3,21 @@
{
imports = [ ../boards/x230.nix ../common.nix ];
seabios.enable = true;
grub2 = {
enable = true;
extraPayloadModules = [ "luks" "crypto" "gcry_sha256"
"gcry_rijndael" "pbkdf2" ];
extraConfig = ''
menuentry "NixOS" {
cryptomount -u f1440abd-99e3-46a8-aa36-7824972fee54
search --set=drive1 --fs-uuid 672c497c-18aa-4b00-ac95-78e810363d81
set root=$drive1
configfile /grub/grub.cfg
}
'';
};
seabios.asSecondaryPayload = true;
corenix = {
corebootConfig = {
@ -12,6 +26,5 @@
};
extraFiles."background.png".src = lib.mkForce ./splash.jpg;
};
}

@ -36,7 +36,6 @@
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;
};
in {

Loading…
Cancel
Save