nixos/system/laptop.nix

19 lines
330 B
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{ ... }:
{
imports = [ ./desktop/default.nix ];
powerManagement.enable = true;
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
}