summaryrefslogtreecommitdiff
path: root/hosts/mox/hardware-configuration.nix
blob: 3913e1eef038c3b8cc9f0baf230859f7bc87cc72 (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
{ modulesPath, ... }:

{
  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];

  boot.initrd.availableKernelModules = [
    "ata_piix"
    "uhci_hcd"
    "virtio_pci"
    "virtio_scsi"
    "sd_mod"
    "sr_mod"
  ];

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/547074b4-4d61-4968-a94f-4f97e1fa2c3c";
      fsType = "ext4";
    };
    "/boot" = {
      device = "/dev/disk/by-uuid/C634-FE6A";
      fsType = "vfat";
    };
  };
}