aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2021-01-03 18:41:36 +0100
committerMx Kookie <kookie@spacekookie.de>2021-01-03 18:41:36 +0100
commitfcc89b1b5bcbcb00ce02cb461b186ef0337312e3 (patch)
tree0dc6e87e2ab2ac26a02550b72d37fde60a9d324c
parent5a380913988033c25c7240ab677dcc549327357f (diff)
corenix: update uwu config to chainload grub
-rw-r--r--infra/corenix/configs/kookie/uwu.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/infra/corenix/configs/kookie/uwu.nix b/infra/corenix/configs/kookie/uwu.nix
index 7456c6dc3c94..eacf173bf12b 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;
};
}