From c59321cef3ff62257d5dc4eed1cf9ec36b2e2ec0 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 26 Nov 2024 10:09:02 +0100 Subject: [PATCH] add base-efi-grub.nix template --- modules/base-efi-grub.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/base-efi-grub.nix diff --git a/modules/base-efi-grub.nix b/modules/base-efi-grub.nix new file mode 100644 index 0000000..6e45fc2 --- /dev/null +++ b/modules/base-efi-grub.nix @@ -0,0 +1,14 @@ +# This has not yet been tested. +{ config, pkgs, ... }: +{ + # Bootloader. + boot.loader = { + grub = { + enable = true; + efiSupport = true; + }; + efi = { + canTouchEfiVariables = true; + }; + }; +}