Merge pull request #96912 from atlaua/aranea/qemu-vm-kernel-config

nixos/qemu-vm: Fix and update system.requiredKernelConfig entries
This commit is contained in:
Kevin Cox 2020-11-11 07:29:14 -05:00 committed by GitHub
commit dce7cc111a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,16 +744,19 @@ in
(isEnabled "VIRTIO_PCI")
(isEnabled "VIRTIO_NET")
(isEnabled "EXT4_FS")
(isEnabled "NET_9P_VIRTIO")
(isEnabled "9P_FS")
(isYes "BLK_DEV")
(isYes "PCI")
(isYes "EXPERIMENTAL")
(isYes "NETDEVICES")
(isYes "NET_CORE")
(isYes "INET")
(isYes "NETWORK_FILESYSTEMS")
] ++ optional (!cfg.graphics) [
] ++ optionals (!cfg.graphics) [
(isYes "SERIAL_8250_CONSOLE")
(isYes "SERIAL_8250")
] ++ optionals (cfg.writableStore) [
(isEnabled "OVERLAY_FS")
];
};