From 85e79d59ee72cf886c9389d5d32f2c6c23512081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 6 Nov 2021 07:15:47 +0100 Subject: [PATCH] qcow: also add kernel drivers --- formats/qcow.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/formats/qcow.nix b/formats/qcow.nix index 1c5b505..7a8884d 100644 --- a/formats/qcow.nix +++ b/formats/qcow.nix @@ -1,5 +1,10 @@ { config, lib, pkgs, modulesPath, ... }: { + # for virtio kernel drivers + imports = [ + "${toString modulesPath}/profiles/qemu-guest.nix" + ]; + fileSystems."/" = { device = "/dev/disk/by-label/nixos"; autoResize = true;