{ lib, modulesPath, ... }: { imports = [(modulesPath + "/profiles/qemu-guest.nix")]; boot = { loader.grub.device = "/dev/sda"; initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"]; initrd.kernelModules = ["nvme"]; }; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }