Add grub2 module
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 13:54:24 +0200
2 files changed, 13 insertions(+), 0 deletions(-)
M machines/satoshipad.nix → machines/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; + }; +}