about summary refs log tree commit diff
path: root/nix/hosts/wildcat/hardware.nix
blob: 351c991122977619594eef70c7ba08c97f0557cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ modulesPath, ... }:
{
  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];

  boot.initrd.availableKernelModules = [
    "ata_piix"
    "uhci_hcd"
    "xen_blkfront"
    "vmw_pvscsi"
  ];

  boot.loader.grub = {
    enable = true;
    device = "/dev/sda";
  };

  boot.initrd.kernelModules = [ "nvme" ];

  fileSystems = {
    "/" = {
      device = "/dev/sda1";
      fsType = "ext4";
    };
    "/srv" = {
      device = "/dev/disk/by-id/scsi-0HC_Volume_101115314";
      fsType = "ext4";
    };
  };
}