all repos — archive/nixos-configuration @ beeb65621be5ccecb06c5994696599a282530625

Superseded by nixfiles

Add grub2 module

Alan Pearce
commit

beeb65621be5ccecb06c5994696599a282530625

parent

a6ecfec5e8401c10ab8bbddc39cd203b7c0eeac7

2 files changed, 13 insertions(+), 0 deletions(-)

jump to
M machines/satoshipad.nixmachines/satoshipad.nix
@@ -3,6 +3,7 @@
{ imports = [ ./hardware-configuration.nix + ./modules/grub2.nix ]; networking.hostName = "satoshipad";
A modules/grub2.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }: + +{ boot.loader = { + grub = { + enable = true; + version = 2; + device = "nodev"; + efiSupport = true; + }; + efi.canTouchEfiVariables = true; + }; +}