It works for `5.4`. `modprobe --config no-config -d /nix/store/lphcki4wmb320gwsxa1d78jwrqn2kk51-linux-5.4.31-modules --set-version 5.4.31 --show-depends virtio_console insmod /nix/store/lphcki4wmb320gwsxa1d78jwrqn2kk51-linux-5.4.31-modules/lib/modules/5.4.31/kernel/drivers/virtio/virtio.ko.xz insmod /nix/store/lphcki4wmb320gwsxa1d78jwrqn2kk51-linux-5.4.31-modules/lib/modules/5.4.31/kernel/drivers/virtio/virtio_ring.ko.xz insmod /nix/store/lphcki4wmb320gwsxa1d78jwrqn2kk51-linux-5.4.31-modules/lib/modules/5.4.31/kernel/drivers/char/virtio_console.ko.xz`