surface: Add options from nixos-hardware
This commit is contained in:
@@ -37,9 +37,13 @@ in mkHost config {
|
||||
networking.wireless.enable = true;
|
||||
hardware.video.hidpi.enable = true;
|
||||
boot = {
|
||||
kernelParams = [ "mem_sleep_default=deep" ];
|
||||
extraModprobeConfig = ''
|
||||
options kvm_amd nested=1
|
||||
options vfio-pci ids=1002:67df,1002:aaf0
|
||||
options i915 enable_fbc=1 enable_rc6=1 modeset=1
|
||||
options snd_hda_intel power_save=1
|
||||
options snd_ac97_codec power_save=1
|
||||
options iwlwifi power_save=Y
|
||||
options iwldvm force_cam=N
|
||||
'';
|
||||
initrd = {
|
||||
availableKernelModules = [ "xhci_pci" "nvme" "usbhid" ];
|
||||
|
||||
Reference in New Issue
Block a user