grub theme

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-06 17:10:57 +02:00
parent 696c3b0e3c
commit 99afb06b2f
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -1,6 +1,6 @@
top@{ moduleWithSystem, ... }: { top@{ moduleWithSystem, ... }: {
flake.nixosModules = { flake.nixosModules = {
grub = { grub = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
boot = { boot = {
loader = { loader = {
grub = { grub = {
@ -8,13 +8,17 @@ top@{ moduleWithSystem, ... }: {
useOSProber = true; useOSProber = true;
efiSupport = true; efiSupport = true;
device = "nodev"; device = "nodev";
theme = pkgs.sleek-grub-theme.override {
withBanner = "Hello Ivan";
withStyle = "orange";
};
}; };
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
}; };
}; };
}; };
}; });
base = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: { base = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
system.stateVersion = top.config.flake.stateVersion; system.stateVersion = top.config.flake.stateVersion;
nix = { nix = {