surface: Add more tweaks from linux-surface

This commit is contained in:
2021-09-07 15:40:07 +02:00
parent 18caa31652
commit 119d3a2a0f
2 changed files with 21 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ in mkHost config {
];
extraOptions = old: {
boot = {
kernelParams = [ "mem_sleep_default=deep" ];
kernelParams = [ "mem_sleep_default=deep" "kernel.nmi_watchdog=0" "vm.dirty_writeback_centisecs=1500" ];
extraModprobeConfig = ''
options i915 enable_fbc=1 enable_rc6=1 modeset=1
options snd_hda_intel power_save=1