summaryrefslogtreecommitdiff
path: root/common/hardware.nix
blob: 16db18b26ef7beab74450b0f8cf74ddd9769e9ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  lib,
  modulesPath,
  ...
}: {
  imports = [
    (modulesPath + "/profiles/qemu-guest.nix")
  ];

  boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
  boot.initrd.kernelModules = [];
  boot.kernelModules = [];
  boot.extraModulePackages = [];

  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}