From 6838797fdf3fc8f4b101146c542f4f76fdf0b67d Mon Sep 17 00:00:00 2001 From: cswimr Date: Fri, 29 Nov 2024 06:30:15 -0500 Subject: [PATCH] add `menu` icon to the firmware setup entry in grub --- assets/img/grub/menu.png | Bin 0 -> 581 bytes nixos/configuration.nix | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 assets/img/grub/menu.png diff --git a/assets/img/grub/menu.png b/assets/img/grub/menu.png new file mode 100644 index 0000000000000000000000000000000000000000..0d6bd0e3c5f34102ddacba0a2a52285ae1454dbf GIT binary patch literal 581 zcmV-L0=oT)P)!J6fu|WYnCNt}neVqzt{mYaPqK^XZO-LSO-=m!ZVEc{& zLO|9)bcuFEJ|CbyvPne7rD-8S<4Cq<8HyLwQ6ykmC&gG9+CxCKLLncpbq1c4LYqZX z);u6&j2G}Z*L;R+6S4V8JdAgtZ&7g$e8S!duu1`IXv`V(b2sdVh&aX?(LM*Ntj+Jw zuhzK?0|l>@;(1*5joL^~iU0*Tc_Gj!K;Lw9M=%6?^5GEm^Pi5i{z61g!g<&j{O2S* z1|RdUSe*5Mei->6qZdfymJ)6Ed3h-1i{UV;Q7DxgQ4D*{wMeA0BQ7Df(NQ4@cpML7 z@CoD|wD)C#D&)_b;uT=h4f3#ooC6&IuVpM_Hj&e|7YK77XfT;to$RYsJ?#Q}^=`!c z)Py81`z~x25TgfXfCRv+@;kttaYqvK#99G(N~$d6N&-Pq{5MqTS1Yz0|2h2zu_1;! TFMzA600000NkvXXu0mjfSMB_? literal 0 HcmV?d00001 diff --git a/nixos/configuration.nix b/nixos/configuration.nix index ee8c985..8f94ce5 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -18,11 +18,15 @@ enable = true; efiSupport = true; device = "nodev"; + theme = pkgs.catppuccin-grub; extraEntries = '' - menuentry "Firmware Setup" { + menuentry "Firmware Setup" --class menu { fwsetup } ''; + extraFiles = { + "theme/icons/menu.png" = "/etc/nixos/assets/img/grub/menu.png"; + }; }; boot.loader.efi.canTouchEfiVariables = true;