add grub theme to config
This commit is contained in:
parent
20dfde5bd0
commit
9a0d854b64
|
@ -54,8 +54,12 @@
|
|||
device = "nodev";
|
||||
efiSupport = 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.initrd = {
|
||||
availableKernelModules = [ "aesni_intel" "cryptd" ];
|
||||
|
|
BIN
shared/sayonara/background.png
Normal file
BIN
shared/sayonara/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
shared/sayonara/info.png
Normal file
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
38
shared/sayonara/theme.txt
Normal 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"
|
||||
}
|
BIN
shared/sayonara/victor-pixel-32.pf2
Normal file
BIN
shared/sayonara/victor-pixel-32.pf2
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user