From 2558bb6fbdd6a4654ab433e225a23fd5dec979db Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Fri, 1 Dec 2023 12:58:02 +0100 Subject: [PATCH] Set grub as the bootloader --- lib/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/configuration.nix b/lib/configuration.nix index 1e2f16a..b330d58 100644 --- a/lib/configuration.nix +++ b/lib/configuration.nix @@ -28,6 +28,18 @@ vmVariantWithBootLoader = vmConfig; }; + boot.loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot/efi"; + }; + grub = { + efiSupport = true; + device = "nodev"; + useOSProber = true; + }; + }; + users.myUsers = machine.config.users; home-manager = {