grub theme background

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-06 17:19:11 +02:00
parent 99afb06b2f
commit a66f628805
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -3,15 +3,20 @@ top@{ moduleWithSystem, ... }: {
grub = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: { grub = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
boot = { boot = {
loader = { loader = {
grub = { grub =
let
theme = pkgs.sleek-grub-theme.override {
withBanner = "Hello Ivan";
withStyle = "bigSur";
};
in
{
enable = true; enable = true;
useOSProber = true; useOSProber = true;
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
theme = pkgs.sleek-grub-theme.override { theme = theme;
withBanner = "Hello Ivan"; splashImage = "${theme}/background.png";
withStyle = "orange";
};
}; };
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;