add menu
icon to the firmware setup entry in grub
This commit is contained in:
parent
81f147c938
commit
6838797fdf
2 changed files with 5 additions and 1 deletions
BIN
assets/img/grub/menu.png
Normal file
BIN
assets/img/grub/menu.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 581 B |
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue