diff --git a/lambda/configuration.nix b/lambda/configuration.nix index 5baf754..a7062de 100644 --- a/lambda/configuration.nix +++ b/lambda/configuration.nix @@ -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" ]; diff --git a/shared/sayonara/background.png b/shared/sayonara/background.png new file mode 100644 index 0000000..93fe916 Binary files /dev/null and b/shared/sayonara/background.png differ diff --git a/shared/sayonara/info.png b/shared/sayonara/info.png new file mode 100644 index 0000000..e83e999 Binary files /dev/null and b/shared/sayonara/info.png differ diff --git a/shared/sayonara/theme.txt b/shared/sayonara/theme.txt new file mode 100644 index 0000000..06b3aa9 --- /dev/null +++ b/shared/sayonara/theme.txt @@ -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" +} diff --git a/shared/sayonara/victor-pixel-32.pf2 b/shared/sayonara/victor-pixel-32.pf2 new file mode 100644 index 0000000..6382f12 Binary files /dev/null and b/shared/sayonara/victor-pixel-32.pf2 differ