summary refs log tree commit diff stats
path: root/hosts/by-name/server2/hardware.nix
blob: a6e4e4002f48e45fd7f97df0445e7ad0e6d52eeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{modulesPath, ...}: {
  imports = [
    (modulesPath + "/profiles/qemu-guest.nix")
    (modulesPath + "/profiles/headless.nix")
  ];

  vhack.disko = {
    enable = true;
    # FIXME: Find a better way to specify the disk
    disk = "/dev/vda";
  };

  boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
  nixpkgs.hostPlatform = "x86_64-linux";
}