Christoph Heiss
15c40d991c
This completely dimishes /any/ Wi-Fi performance it can potentially drop it as low as a few KiB/s .. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
19 lines
394 B
Nix
19 lines
394 B
Nix
{
|
|
services.tlp = {
|
|
enable = true;
|
|
settings = {
|
|
# Audio
|
|
SOUND_POWER_SAVE_ON_AC = 0;
|
|
# File systems
|
|
MAX_LOST_WORK_SECS_ON_AC = 10;
|
|
MAX_LOST_WORK_SECS_ON_BAT = 30;
|
|
# Radio devices
|
|
DEVICES_TO_DISABLE_ON_STARTUP = "bluetooth wwan";
|
|
WIFI_PWR_ON_BAT = "off";
|
|
# USB
|
|
USB_EXCLUDE_AUDIO = 0;
|
|
USB_EXCLUDE_PHONE = 1;
|
|
};
|
|
};
|
|
}
|