Evie Litherland-Smith
9e92c21fbd
Move autoUpgrade, nix registry and stylix settings to their own files, only import autoUpgrade on desktops and server Add laptop system file to control power management Move some bits from flake.nix to default.nix and desktop.nix where appropriate
17 lines
289 B
Nix
17 lines
289 B
Nix
{...}: {
|
|
powerManagement.enable = true;
|
|
services.auto-cpufreq = {
|
|
enable = true;
|
|
settings = {
|
|
battery = {
|
|
governor = "powersave";
|
|
turbo = "never";
|
|
};
|
|
charger = {
|
|
governor = "performance";
|
|
turbo = "auto";
|
|
};
|
|
};
|
|
};
|
|
}
|