18 lines
404 B
Nix
18 lines
404 B
Nix
{
|
|
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";
|
|
}
|