2023-01-10 13:06:33 +00:00
|
|
|
{ lib, ... }:
|
2023-01-10 04:17:07 +00:00
|
|
|
|
|
|
|
let
|
2023-01-10 13:06:33 +00:00
|
|
|
inherit (lib) mkDefault;
|
2023-01-10 04:17:07 +00:00
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
../common
|
|
|
|
./firmware/ath10k
|
2023-01-10 13:24:06 +00:00
|
|
|
../../../common/pc
|
|
|
|
../../../common/pc/ssd
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/cpu/intel/kaby-lake
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.kernelParams = [
|
|
|
|
"i915.enable_rc6=1"
|
|
|
|
"i915.modeset=1"
|
2023-01-10 04:17:07 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.extraModprobeConfig = mkDefault ''
|
|
|
|
options snd_hda_intel power_save=1
|
|
|
|
options snd_ac97_codec power_save=1
|
|
|
|
options iwlwifi power_save=Y
|
|
|
|
options iwldvm force_cam=N
|
|
|
|
'';
|
|
|
|
}
|