2023-11-01 18:55:14 +01:00
|
|
|
{ lib, ... }: {
|
2023-09-28 11:31:15 +02:00
|
|
|
imports = [
|
|
|
|
../../../common/cpu/intel
|
|
|
|
../../../common/pc/laptop
|
|
|
|
../../../common/pc/laptop/ssd
|
|
|
|
];
|
|
|
|
|
|
|
|
# This will save you money and possibly your life!
|
|
|
|
services.thermald.enable = lib.mkDefault true;
|
2023-11-01 18:55:14 +01:00
|
|
|
|
2023-09-28 11:31:15 +02:00
|
|
|
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
|
2023-11-01 18:55:14 +01:00
|
|
|
# Tuning based on iwlwifi reference(https://wiki.archlinux.org/title/Network_configuration/Wireless#iwlwifi)
|
2023-09-28 11:31:15 +02:00
|
|
|
boot.extraModprobeConfig = ''
|
2023-11-01 18:55:14 +01:00
|
|
|
options iwlwifi 11n_disable=8
|
2023-09-28 11:31:15 +02:00
|
|
|
'';
|
|
|
|
}
|