summaryrefslogtreecommitdiff
path: root/hosts/kay/hardware-configuration.nix
blob: 306e9bae8ea60219dbf22ce9a4971a5b9d320d25 (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
30
31
32
33
34
35
36
37
38
{ modulesPath, ... }:

{
  imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];

  boot = {
    loader = {
      systemd-boot.enable = true;
      efi.canTouchEfiVariables = true;
    };

    kernelModules = [ "kvm-intel" ];
    blacklistedKernelModules = [ "nouveau" ];
    initrd.availableKernelModules = [
      "xhci_pci"
      "ehci_pci"
      "ahci"
      "usb_storage"
      "usbhid"
      "sd_mod"
    ];
  };

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/2eeacf49-c51e-4229-bd4a-ae437014725f";
      fsType = "ext4";
    };
    "/boot" = {
      device = "/dev/disk/by-uuid/A902-90BB";
      fsType = "vfat";
    };
    "/hdd" = {
      device = "/dev/disk/by-uuid/c941edb4-e393-4254-bbef-d1b3728290e9";
      fsType = "ext4";
    };
  };
}