nixosMod/vmCommon: configure kernel modules required for booting in QEMU

main
Felix Stupp 1 year ago
parent 0388fb9551
commit 8a42dd5532
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -98,6 +98,24 @@ in
boot = {
initrd = {
availableKernelModules = [
"9p"
"9pnet_virtio"
"virtio_blk"
"virtio_mmio"
"virtio_net"
"virtio_pci"
"virtio_scsi"
];
kernelModules = [
"virtio_balloon"
"virtio_console"
"virtio_gpu"
"virtio_rng"
];
};
kernelParams = lib.singleton "console=ttyS0,115200";
loader = {

Loading…
Cancel
Save