2022-05-16 22:36:15 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
2022-07-11 22:02:50 +00:00
|
|
|
modulesPath,
|
2022-05-16 22:36:15 +00:00
|
|
|
...
|
|
|
|
}: {
|
2022-07-16 02:05:23 +00:00
|
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
2022-05-16 22:36:15 +00:00
|
|
|
boot = {
|
2022-07-11 22:02:50 +00:00
|
|
|
cleanTmpDir = true;
|
2022-05-16 22:36:15 +00:00
|
|
|
loader = {
|
2022-07-11 22:02:50 +00:00
|
|
|
grub.device = "/dev/sda";
|
2022-05-16 22:36:15 +00:00
|
|
|
};
|
2022-07-16 02:05:23 +00:00
|
|
|
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"];
|
|
|
|
initrd.kernelModules = ["nvme"];
|
2022-05-16 22:36:15 +00:00
|
|
|
kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
};
|
|
|
|
}
|