From 37dc05d4a39609975451abf5af02bab071e1b9d4 Mon Sep 17 00:00:00 2001 From: Steven Carpenter Date: Fri, 10 Feb 2023 14:02:11 -0500 Subject: [PATCH] added grub --- .modules/base/proxmox-vm-hardware.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.modules/base/proxmox-vm-hardware.nix b/.modules/base/proxmox-vm-hardware.nix index 9265390..6b00287 100644 --- a/.modules/base/proxmox-vm-hardware.nix +++ b/.modules/base/proxmox-vm-hardware.nix @@ -39,17 +39,17 @@ kernelModules = [ "kvm-amd" ]; }; extraModulePackages = [ ]; - # loader = { - #systemd-boot.enable = true; - #grub = { - # device = { + loader = { + systemd-boot.enable = true; + grub = { + device = { # Even if there is a separate no-fs partition ("/dev/disk/by-partlabel/no-fs" i.e. "/dev/vda2"), # which will be used the bootloader, do not set it as loader.grub.device. # GRUB installation fails, unless the whole disk is selected. - # "/dev/disk/by-uuid/40fe3178-6ec1-450f-93fd-c359f2f3daf9" - # }; - # timeout = 0; - # }; + "/dev/disk/by-uuid/40fe3178-6ec1-450f-93fd-c359f2f3daf9" + }; + timeout = 0; + }; }; # fileSystems."/" = { # device = "/dev/disk/by-label/nixos";