config-perso/machines/kat-son/hardware-configuration.nix

28 lines
466 B
Nix
Raw Normal View History

2024-06-25 10:54:31 +02:00
{
lib,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
2024-11-14 15:30:17 +01:00
boot = {
initrd = {
availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
2024-06-25 10:54:31 +02:00
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}