From e511e0c43095b1dbc6f4ba8bcacd059778cb3d6c Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Sat, 6 Jul 2024 22:09:32 +0900 Subject: [PATCH] Switch to GRUB --- hosts/default/configuration.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index aaebab0..a768db7 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -23,8 +23,17 @@ ]; # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot"; + }; + grub = { + efiSupport = true; + device = "nodev"; + useOSProber = true; + }; + }; nix.settings.experimental-features = [ "nix-command" "flakes" ];