nixos/qemu-guest: add virtiofs (#510241)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
"virtio_scsi"
|
||||
"9p"
|
||||
"9pnet_virtio"
|
||||
"virtiofs"
|
||||
];
|
||||
boot.initrd.kernelModules = [
|
||||
"virtio_balloon"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user