add grub theme to config

This commit is contained in:
Rachel Lambda Samuelsson 2023-07-31 14:40:59 +02:00
parent 20dfde5bd0
commit 9a0d854b64
5 changed files with 43 additions and 1 deletions

View File

@ -54,8 +54,12 @@
device = "nodev"; device = "nodev";
efiSupport = true; efiSupport = true;
enableCryptodisk = true; enableCryptodisk = true;
theme = "/boot/grub/themes/sayonara"; theme = "/etc/grub-themes/sayonara";
}; };
environment.etc = {
"grub-themes/sayonara".source = ../shared/sayonara;
};
boot.loader.efi.efiSysMountPoint = "/boot/efi"; boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.initrd = { boot.initrd = {
availableKernelModules = [ "aesni_intel" "cryptd" ]; availableKernelModules = [ "aesni_intel" "cryptd" ];

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
shared/sayonara/info.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

38
shared/sayonara/theme.txt Normal file
View File

@ -0,0 +1,38 @@
title-text: ""
desktop-image: "background.png"
desktop-color: "#000000"
terminal-left: "0"
terminal-top: "0"
terminal-width: "100%"
terminal-height: "100%"
terminal-border: "0"
+ boot_menu {
left = 40%
top = 20%
width = 40%
height = 50%
item_font = "Victor's Pixel Font Regular 32"
item_color = "#ffffff"
selected_item_color = "#CD5437"
item_spacing = 0
item_icon_space = 0
}
+ progress_bar {
left = 40%
top = 82%
width = 250
height = 30
id = "__timeout__"
text = "booting in %d..."
border_color = "#CD5437"
}
+ image {
top = 100%-50
left = 50%-240
width = 480
height = 42
file = "info.png"
}

Binary file not shown.