diff --git a/src/functions/base.rs b/src/functions/base.rs index f6755e4..da8c4fd 100755 --- a/src/functions/base.rs +++ b/src/functions/base.rs @@ -58,6 +58,7 @@ pub fn install_bootloader_efi(efidir: PathBuf) { "grub", "efibootmgr", "grub-btrfs", + "crystal-grub-theme", "os-prober", ]); let efidir = std::path::Path::new("/mnt").join(efidir); @@ -88,6 +89,13 @@ pub fn install_bootloader_efi(efidir: PathBuf) { ), "install grub as efi without --removable", ); + files_eval( + append_file( + "/mnt/etc/default/grub", + "GRUB_THEME=\"/usr/share/grub/themes/crystal/theme.txt\"", + ), + "enable crystal grub theme", + ); exec_eval( exec_chroot( "grub-mkconfig",