From 99afb06b2f43635cc0b24ac615c2c0b76ea362ca Mon Sep 17 00:00:00 2001 From: Ivan Kirilov Dimitrov Date: Sat, 6 Jul 2024 17:10:57 +0200 Subject: [PATCH] grub theme --- nixos/modules/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix index 5e432a8..f909351 100644 --- a/nixos/modules/default.nix +++ b/nixos/modules/default.nix @@ -1,6 +1,6 @@ top@{ moduleWithSystem, ... }: { flake.nixosModules = { - grub = { + grub = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: { boot = { loader = { grub = { @@ -8,13 +8,17 @@ top@{ moduleWithSystem, ... }: { useOSProber = true; efiSupport = true; device = "nodev"; + theme = pkgs.sleek-grub-theme.override { + withBanner = "Hello Ivan"; + withStyle = "orange"; + }; }; efi = { canTouchEfiVariables = true; }; }; }; - }; + }); base = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: { system.stateVersion = top.config.flake.stateVersion; nix = {