change bootloader

This commit is contained in:
2025-11-21 16:23:19 +09:00
parent b620173b49
commit 26e95b8878

View File

@@ -19,10 +19,23 @@ in
services.logind.lidSwitch = "suspend"; services.logind.lidSwitch = "suspend";
nixpkgs.config.allowUnfree = true; 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. networking.hostName = "haskell"; # Define your hostname.