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