2022-08-21 22:53:04 +00:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{
|
2023-02-25 13:45:21 +00:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "uas" "sdhci_pci"];
|
|
|
|
|
boot.initrd.kernelModules = ["dm-snapshot"];
|
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
|
boot.extraModulePackages = [];
|
|
|
|
|
|
2023-04-15 14:37:55 +00:00
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."cryptroot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/cdc29f0f-5b18-4ee7-8d38-1f4bac80b1e6";
|
2023-10-05 22:23:48 +00:00
|
|
|
|
allowDiscards = true;
|
2022-08-21 22:53:04 +00:00
|
|
|
|
bypassWorkqueues = true;
|
|
|
|
|
};
|
|
|
|
|
|
2023-02-25 13:45:21 +00:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/5b441f8f-d7eb-44f8-8df2-7354b3314a61";
|
|
|
|
|
fsType = "ext4";
|
2023-10-05 22:23:48 +00:00
|
|
|
|
options = [ "discard" ];
|
2023-02-25 13:45:21 +00:00
|
|
|
|
};
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
2023-02-25 13:45:21 +00:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/84CD-91B6";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
2023-02-25 13:45:21 +00:00
|
|
|
|
swapDevices = [{device = "/dev/disk/by-uuid/54162798-9017-4b59-afd7-ab9578da4bb9";}];
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
|
|
|
|
hardware.trackpoint = {
|
|
|
|
|
enable = true;
|
|
|
|
|
device = "TPPS/2 ALPS TrackPoint";
|
|
|
|
|
emulateWheel = true;
|
2023-02-25 13:45:21 +00:00
|
|
|
|
sensitivity = 100; # default 128
|
|
|
|
|
speed = 64; # default 97
|
2022-08-21 22:53:04 +00:00
|
|
|
|
};
|
|
|
|
|
}
|