mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 07:38:19 +01:00
laptop: add thinkpad-specific things
This commit is contained in:
parent
b7cf5f8ac1
commit
0c56515750
2 changed files with 6 additions and 1 deletions
|
|
@ -310,6 +310,10 @@ in
|
|||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
services.thinkfan = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue