From fcc89b1b5bcbcb00ce02cb461b186ef0337312e3 Mon Sep 17 00:00:00 2001 From: Mx Kookie Date: Sun, 3 Jan 2021 18:41:36 +0100 Subject: [PATCH] corenix: update uwu config to chainload grub --- infra/corenix/configs/kookie/uwu.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/infra/corenix/configs/kookie/uwu.nix b/infra/corenix/configs/kookie/uwu.nix index 7456c6dc3c9..eacf173bf12 100644 --- a/infra/corenix/configs/kookie/uwu.nix +++ b/infra/corenix/configs/kookie/uwu.nix @@ -10,14 +10,16 @@ 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 + search --set=cryptdrive --fs-uuid 672c497c-18aa-4b00-ac95-78e810363d81 + configfile ($cryptdrive)/grub/grub.cfg } ''; }; - seabios.asSecondaryPayload = true; + seabios = { + enable = true; + asSecondaryPayload = true; + }; corenix = { corebootConfig = { @@ -25,6 +27,6 @@ CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT = "768"; }; - extraFiles."background.png".src = lib.mkForce ./splash.jpg; + extraFiles."background.jpg".src = lib.mkForce ./splash.jpg; }; }