2024-06-18 09:47:57 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
|
2024-11-14 15:30:17 +01:00
|
|
|
boot = {
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = [
|
|
|
|
"ata_piix"
|
|
|
|
"uhci_hcd"
|
|
|
|
"virtio_pci"
|
|
|
|
"virtio_scsi"
|
|
|
|
"sd_mod"
|
|
|
|
];
|
|
|
|
kernelModules = [ ];
|
|
|
|
};
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
};
|
2024-06-18 09:47:57 +02:00
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
}
|