summaryrefslogtreecommitdiff
path: root/system-profiles/qemu-guest.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/qemu-guest.nix')
-rw-r--r--system-profiles/qemu-guest.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/system-profiles/qemu-guest.nix b/system-profiles/qemu-guest.nix
new file mode 100644
index 00000000..8654eba0
--- /dev/null
+++ b/system-profiles/qemu-guest.nix
@@ -0,0 +1,10 @@
1{ ... }:
2{
3 config = {
4 boot.initrd = {
5 kernelModules = [ "virtio_net" "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" "virtio_balloon" "virtio_console" "virtio_rng" ];
6 };
7
8 services.qemuGuest.enable = true;
9 };
10}