12 lines
335 B
Nix
12 lines
335 B
Nix
{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";
|
|
};
|
|
}
|