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, config,
pkgs, pkgs,
lib, lib,
modulesPath,
... ...
}: { }: {
imports = [ imports = [
# Import the NixOS Qemu guest settings # 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"]; boot.initrd.availableKernelModules = ["virtio_pci" "ahci" "sd_mod"];