add menu icon to the firmware setup entry in grub

This commit is contained in:
Seaswimmer 2024-11-29 06:30:15 -05:00
parent 81f147c938
commit 6838797fdf
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 5 additions and 1 deletions

BIN
assets/img/grub/menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

View file

@ -18,11 +18,15 @@
enable = true; enable = true;
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
theme = pkgs.catppuccin-grub;
extraEntries = '' extraEntries = ''
menuentry "Firmware Setup" { menuentry "Firmware Setup" --class menu {
fwsetup fwsetup
} }
''; '';
extraFiles = {
"theme/icons/menu.png" = "/etc/nixos/assets/img/grub/menu.png";
};
}; };
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;