change bootloader
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user