old
1{
2 pkgs,
3 distro-grub-themes,
4 ...
5}: {
6 boot.loader = {
7 grub = rec {
8 enable = true;
9 devices = ["nodev"];
10 efiSupport = true;
11 gfxmodeEfi = "1024x768";
12 useOSProber = true;
13 theme = distro-grub-themes.packages.${pkgs.system}.lenovo-grub-theme;
14 splashImage = "${theme}/splash_image.jpg";
15 };
16 efi = {
17 canTouchEfiVariables = true;
18 efiSysMountPoint = "/boot";
19 };
20 };
21
22 boot.plymouth = {
23 enable = true;
24 logo = "${pkgs.nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png";
25 };
26}