nixos: cleaner import of qemu-quest module

This commit is contained in:
Fiscal Velvet Poet 2023-05-25 09:56:56 +10:00
parent 0de194df16
commit e1a10f9971
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47

View file

@ -3,11 +3,12 @@
config,
pkgs,
lib,
modulesPath,
...
}: {
imports = [
# Import the NixOS Qemu guest settings
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = ["virtio_pci" "ahci" "sd_mod"];