summaryrefslogtreecommitdiff
path: root/os/lia/hardware-configuration.nix
blob: 8417070cdd5282d1bf967639f2f84f2932e99a57 (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 + "/installer/scan/not-detected.nix") ];

  boot = {
    loader.systemd-boot.enable = true;
    kernelModules = [ "kvm-amd" ];

    initrd.availableKernelModules = [
      "xhci_pci"
      "ahci"
      "usb_storage"
      "usbhid"
      "sd_mod"
    ];
  };

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/9ad3550b-8c9a-4541-8fac-7af185599446";
      fsType = "ext4";
    };
    "/boot" = {
      device = "/dev/disk/by-uuid/6111-05EC";
      fsType = "vfat";
    };
  };
}