feat(grub): add theme

This commit is contained in:
Michael Mandl 2024-01-13 12:19:00 +01:00
parent 25bc7158e0
commit f570704277
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -4,7 +4,7 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
boot.loader = { boot.loader = {
timeout = 1; timeout = 5;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
grub = { grub = {
@ -12,6 +12,10 @@
device = "nodev"; device = "nodev";
configurationLimit = 5; configurationLimit = 5;
useOSProber = true; useOSProber = true;
theme = pkgs.sleek-grub-theme.override {
withBanner = "welcome to ${config.networking.hostName}";
withStyle = "dark";
};
}; };
}; };