laptop: add thinkpad-specific things

This commit is contained in:
Lgmrszd 2025-04-11 18:32:16 +04:00
parent b7cf5f8ac1
commit 0c56515750
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE
2 changed files with 6 additions and 1 deletions

View file

@ -16,7 +16,8 @@ in
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "ahci" "nvme" "usbhid" "uas" "usb_storage" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.kernelParams = [ "i915.enable_psr=0" ];
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
fileSystems."/" =
{ device = root;