summaryrefslogtreecommitdiff
path: root/hosts/cloud/hardware-configuration.nix
blob: bd94495ce9d5f3237345431d2d2211ccf1c170e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ modulesPath, ... }:
{
  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
  boot.loader.grub.device = "/dev/sda";
  boot.initrd.availableKernelModules = [
    "ata_piix"
    "uhci_hcd"
    "xen_blkfront"
    "vmw_pvscsi"
  ];
  boot.initrd.kernelModules = [ "nvme" ];
  fileSystems."/" = {
    device = "/dev/sda1";
    fsType = "ext4";
  };

}