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, ... }: {
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 = {