summary refs log tree commit diff stats
path: root/hardware-configuration.nix
blob: 19626a717a9485341b07cfd3e75de2118383d027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{modulesPath, ...}: {
  imports = [(modulesPath + "/profiles/qemu-guest.nix")];
  boot.loader.grub.device = "/dev/vda";
  boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
  boot.initrd.kernelModules = ["nvme" "btrfs"];
  fileSystems."/" = {
    device = "/dev/vda3";
    fsType = "btrfs";
    options = ["subvol=nixos-root"];
  };
}