From ca8cfd7deb63d388935c87c7db05eea2a65f0c83 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sat, 4 Oct 2025 20:51:37 +0200 Subject: [PATCH] Use 'systemd-boot' bootloader instead of GRUB --- configuration.nix | 2 +- modules/bootloader.nix | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index d74fc58..0a841f8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -5,8 +5,8 @@ imports = [ - ./modules/bootloader.nix ./modules/hardware-configuration.nix # Include the results of the hardware scan. + ./modules/bootloader.nix ./modules/networking.nix ./modules/users.nix ./modules/audio.nix diff --git a/modules/bootloader.nix b/modules/bootloader.nix index 2faefdd..cba18ae 100644 --- a/modules/bootloader.nix +++ b/modules/bootloader.nix @@ -1,7 +1,6 @@ { ... }: { - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/vda"; - boot.loader.grub.useOSProber = true; + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; }