summary refs log tree commit diff stats
path: root/system/modules/hardware/grub2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/modules/hardware/grub2.nix')
-rw-r--r--system/modules/hardware/grub2.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/modules/hardware/grub2.nix b/system/modules/hardware/grub2.nix
new file mode 100644
index 00000000..70e86e71
--- /dev/null
+++ b/system/modules/hardware/grub2.nix
@@ -0,0 +1,13 @@
+{ config, pkgs, ... }:
+
+{ boot.loader = {
+    grub = {
+      enable = true;
+      splashImage = null;
+      version = 2;
+      device = "nodev";
+      efiSupport = true;
+    };
+    efi.canTouchEfiVariables = true;
+  };
+}