summaryrefslogtreecommitdiff
path: root/hosts/lia/hardware-configuration.nix
blob: 6f4c6a47b81615276bacee31fd9438fbde780771 (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.grub = {
      enable = true;
      device = "/dev/sda";
    };

    kernelModules = [ "kvm-intel" ];
    initrd.availableKernelModules = [
      "uhci_hcd"
      "ehci_pci"
      "ata_piix"
      "hpsa"
      "usb_storage"
      "usbhid"
      "sd_mod"
      "sr_mod"
    ];
  };

  fileSystems."/" = {
    device = "/dev/disk/by-uuid/99fc38a8-9003-4ae2-98f4-e08afd9b4114";
    fsType = "ext4";
  };
}