seperate qemu settings
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 34s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 34s
This commit is contained in:
parent
021c7f7200
commit
4050b28ee3
2 changed files with 17 additions and 3 deletions
14
modules/hardware/misc/qemu-virtio.nix
Normal file
14
modules/hardware/misc/qemu-virtio.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ ... }: {
|
||||
boot.initrd.availableKernelModules = [
|
||||
"virtio_net"
|
||||
"virtio_pci"
|
||||
"virtio_mmio"
|
||||
"virtio_blk"
|
||||
"virtio_scsi"
|
||||
"virtio_console"
|
||||
];
|
||||
services = {
|
||||
qemuGuest.enable = true;
|
||||
spice-vdagentd.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue