From 26e95b8878b50c473f8951ef7651f6f25528b1d8 Mon Sep 17 00:00:00 2001 From: minco Date: Fri, 21 Nov 2025 16:23:19 +0900 Subject: [PATCH] change bootloader --- configuration.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index b673d43..77c01e3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -19,10 +19,23 @@ in services.logind.lidSwitch = "suspend"; nixpkgs.config.allowUnfree = true; + - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.loader.grub.device = "/dev/nvme1n1p1"; + + #boot.loader.grub.device = "/dev/nvme1n1p1"; + boot.loader = { + systemd-boot.enable = false; + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot/efi"; + }; + grub = { + enable = true; + device = "nodev"; + efiSupport = true; + useOSProber = true; + }; + }; networking.hostName = "haskell"; # Define your hostname.