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