Merge pull request #120 from nix-community/qcow

qcow: also add kernel drivers
This commit is contained in:
Lassulus 2021-11-06 10:31:49 +01:00 committed by GitHub
commit 531a109910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;