From 8f7bf229e65267e33e0ba8e047d3a2fc3ad6829e Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Fri, 19 Jan 2024 12:37:14 +0000 Subject: [PATCH] fix: make qemu work? --- common/generic-qemu.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/generic-qemu.nix b/common/generic-qemu.nix index 97abef7..4893eee 100644 --- a/common/generic-qemu.nix +++ b/common/generic-qemu.nix @@ -1,5 +1,7 @@ { modulesPath, ... }: { - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ./generic-grub.nix ]; + + boot.loader.grub.device = "/dev/sda"; boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];