mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-23 22:19:33 +01:00
13 lines
414 B
Nix
13 lines
414 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
{
|
||
|
# Power savings.
|
||
|
# Reference: https://www.reddit.com/r/linux/comments/150h0k1/comment/js4p6px/
|
||
|
|
||
|
# Whether to enable powertop auto tuning on startup.
|
||
|
# This executes `powertop --auto-tune`.
|
||
|
powerManagement.powertop.enable = true;
|
||
|
|
||
|
# SCSI link power management policy. The kernel default is “max_performance”.
|
||
|
powerManagement.scsiLinkPolicy = "med_power_with_dipm";
|
||
|
}
|