summaryrefslogtreecommitdiff
path: root/hel/hw.nix
blob: 6d7c316b65ffeb6a416d41fb76fd9384d9eb4c15 (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
34
{ 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/hel/btrfs";
      fsType = "btrfs";
    };

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

  swapDevices =
    [ { device = "/dev/hel/swap"; }
    ];

  nix.maxJobs = lib.mkDefault 4;

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