nixos/qemu-guest: add virtiofs (#510241)

This commit is contained in:
Christian Kögler
2026-05-01 13:21:47 +00:00
committed by GitHub
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -12,6 +12,7 @@
"virtio_scsi"
"9p"
"9pnet_virtio"
"virtiofs"
];
boot.initrd.kernelModules = [
"virtio_balloon"
-4
View File
@@ -75,10 +75,6 @@ let
# improvement: move following profile to ../modules/profiles/vmspawn-guest.nix
profile-guest-vmspawn = {
imports = [ ../modules/profiles/qemu-guest.nix ];
# improvement: move following configuration to qemu-guest.nix
boot.initrd.availableKernelModules = [
"virtiofs"
];
boot.initrd.systemd.enable = true;
# root is defined by systemd-vmspawn