21 lines
470 B
Nix
21 lines
470 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [ ./desktop.nix ];
|
|
environment.systemPackages = [ pkgs.acpi ];
|
|
powerManagement.enable = true;
|
|
networking.networkmanager.wifi.powersave = true;
|
|
services.auto-cpufreq = {
|
|
enable = false; # TEMP, conflict with power-profiles-daemon
|
|
settings = {
|
|
battery = {
|
|
governor = "powersave";
|
|
turbo = "never";
|
|
};
|
|
charger = {
|
|
governor = "performance";
|
|
turbo = "auto";
|
|
};
|
|
};
|
|
};
|
|
}
|