summary refs log tree commit diff stats
path: root/hardware-configuration.nix
blob: e8756e431a152c8ff66feddba9763394e54ecfa9 (plain) (blame)
1
2
3
4
5
6
7
8
9
{ 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 = "ext4"; };
  
}