nixos/system/laptop.nix

24 lines
474 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";
};
};
};
}