all repos — nixfiles @ 05dd85210e465caa44ef7254f2781b2d12ba2882

System and user configuration, managed by nix and home-manager

system/settings/hardware/grub2.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  config,
  pkgs,
  lib,
  ...
}: {
  boot.loader = {
    grub = {
      enable = true;
      splashImage = null;
      version = 2;
      device = "nodev";
      efiSupport = true;
      useOSProber = lib.mkDefault true;
    };
    efi.canTouchEfiVariables = true;
  };
}