summary refs log tree commit diff stats
path: root/hosts/by-name/server2/hardware.nix
blob: 9abc64c211cc074f2b5e2a1781fa0bf4cc10c26c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{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"];
  boot.initrd.kernelModules = [];
}