summaryrefslogtreecommitdiff
path: root/hel/hw.nix
blob: 9c5126ad7580b0a3cf0e5789b38cca10df86368c (plain)
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
{ config, lib, pkgs, ... }:

{
  imports =
    [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
    ];

  boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
  boot.kernelModules = [ "kvm-intel" ];
  boot.extraModulePackages = [ ];

  fileSystems."/" =
    { device = "/dev/disk/by-label/hel-btrfs";
      fsType = "btrfs";
    };

  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/3ADC-E1CD";
      fsType = "vfat";
    };

  swapDevices =
    [ { device = "/dev/disk/by-label/hel-swap"; }
    ];

  nix.maxJobs = lib.mkDefault 4;

  hardware.trackpoint = {
    enable = true;
    emulateWheel = true;
    sensitivity = 255;
  };
}