Move a modprobe option for Surface Go Wifi device (ath10k) into that specific derivative

This commit is contained in:
mexisme 2021-02-23 17:59:34 +13:00
parent eb2721b3f1
commit f8c3b6e50e
2 changed files with 4 additions and 1 deletions

View file

@ -14,5 +14,9 @@ in
hardware.firmware = [ hardware.firmware = [
(pkgs.callPackage ./ath10k.nix {}) (pkgs.callPackage ./ath10k.nix {})
]; ];
boot.extraModprobeConfig = lib.mkDefault ''
options ath10k_core skip_otp=Y
'';
}; };
} }

View file

@ -6,7 +6,6 @@
options snd_ac97_codec power_save=1 options snd_ac97_codec power_save=1
options iwlwifi power_save=Y options iwlwifi power_save=Y
options iwldvm force_cam=N options iwldvm force_cam=N
options ath10k_core skip_otp=Y
''; '';
boot.kernelParams = [ "mem_sleep_default=deep" ]; boot.kernelParams = [ "mem_sleep_default=deep" ];