Add ochsenchopf host
This commit is contained in:
parent
75e2230bd6
commit
9be69627fe
5 changed files with 104 additions and 1 deletions
26
defaults/hardware/thinkpad-x1-gen9.nix
Normal file
26
defaults/hardware/thinkpad-x1-gen9.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, lib, pkgs, modulesPath, hardwareModules, ... }: {
|
||||
|
||||
imports = with hardwareModules; [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
hardwareModules.lenovo-thinkpad-x1-9th-gen
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod"
|
||||
"ahci"
|
||||
"usbhid"
|
||||
];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ]; # TODO: This should be moved to defaults
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
modemmanager
|
||||
libmbim
|
||||
];
|
||||
|
||||
# CPU Configuration
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
services.throttled.enable = true;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue