Tweak performance and battery optimisation settings
Based on https://github.com/MatthewCroughan/nixcfg and other sources.
This commit is contained in:
parent
00d9a75c3e
commit
a87750cd30
2 changed files with 26 additions and 2 deletions
|
@ -5,10 +5,17 @@
|
|||
[ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.kernelParams = [ "i8042.reset" ];
|
||||
boot.kernelParams = [
|
||||
"i915.modeset=1"
|
||||
"i915.fastboot=1"
|
||||
"i915.enable_guc=2"
|
||||
"i915.enable_psr=1"
|
||||
"i915.enable_fbc=1"
|
||||
"i915.enable_dc=2"
|
||||
];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||
hardware.enableAllFirmware = true;
|
||||
|
||||
fileSystems."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue