git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/qemu-vm: Update system.requiredKernelConfig

Verify that all kernel modules which are required for mounting /nix/store in the VM are present.

commita7de454a762cd6bda49a33c8531a553d67bce231 authorMira Ressel <aranea@aixah.de> dateTue 1 Sep 2020, 17:08 (6 years ago) parent8ee9704
1 file changed+4
nixos/modules/virtualisation/qemu-vm.nix+4
nixos/modules/virtualisation/qemu-vm.nix+4
@@ -744,6 +744,8 @@ in
744744 (isEnabled "VIRTIO_PCI")
745745 (isEnabled "VIRTIO_NET")
746746 (isEnabled "EXT4_FS")
747+ (isEnabled "NET_9P_VIRTIO")
748+ (isEnabled "9P_FS")
747749 (isYes "BLK_DEV")
748750 (isYes "PCI")
749751 (isYes "NETDEVICES")
@@ -753,6 +755,8 @@ in
753755 ] ++ optionals (!cfg.graphics) [
754756 (isYes "SERIAL_8250_CONSOLE")
755757 (isYes "SERIAL_8250")
758+ ] ++ optionals (cfg.writableStore) [
759+ (isEnabled "OVERLAY_FS")
756760 ];
757761
758762 };