2018-09-25 23:09:53 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
2020-04-05 21:53:45 +02:00
|
|
|
[
|
|
|
|
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|
|
|
(
|
|
|
|
builtins.fetchGit {
|
|
|
|
url = "https://github.com/NixOS/nixos-hardware";
|
|
|
|
rev = "62a1812f3c20b7119013650f926806fecd956574";
|
|
|
|
} + "/lenovo/thinkpad/t440s"
|
|
|
|
)
|
2018-09-25 23:09:53 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
2020-04-05 21:53:45 +02:00
|
|
|
boot.extraModulePackages = [];
|
2018-09-25 23:09:53 +02:00
|
|
|
|
|
|
|
fileSystems."/" =
|
2020-04-05 21:53:45 +02:00
|
|
|
{
|
|
|
|
device = "/dev/disk/by-uuid/cb5998ae-cfc9-447f-8756-1ceaec6ca4c4";
|
2018-09-25 23:09:53 +02:00
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2020-04-05 21:53:45 +02:00
|
|
|
{
|
|
|
|
device = "/dev/disk/by-uuid/DED9-661B";
|
2018-09-25 23:09:53 +02:00
|
|
|
fsType = "vfat";
|
2019-11-22 20:02:07 +01:00
|
|
|
options = [ "discard" ];
|
2018-09-25 23:09:53 +02:00
|
|
|
};
|
|
|
|
|
2018-10-12 11:08:52 +02:00
|
|
|
fileSystems."/home" =
|
2020-04-05 21:53:45 +02:00
|
|
|
{
|
|
|
|
device = "/dev/disk/by-uuid/cb5998ae-cfc9-447f-8756-1ceaec6ca4c4";
|
2018-10-12 11:08:52 +02:00
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
|
|
|
|
2018-09-25 23:09:53 +02:00
|
|
|
swapDevices =
|
2020-04-05 21:53:45 +02:00
|
|
|
[
|
|
|
|
{ device = "/dev/disk/by-uuid/bf928178-4e92-4e7e-8df2-18fbd658eecf"; }
|
2018-09-25 23:09:53 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
nix.maxJobs = lib.mkDefault 4;
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2019-05-18 15:50:54 +02:00
|
|
|
|
|
|
|
hardware.trackpoint = {
|
|
|
|
enable = true;
|
2019-06-07 18:25:45 +02:00
|
|
|
sensitivity = 220;
|
|
|
|
speed = 200;
|
2019-05-18 15:50:54 +02:00
|
|
|
};
|
2018-09-25 23:09:53 +02:00
|
|
|
}
|