Added cpufrew power mgmt but disabled by default
On branch zos-next-grub Your branch is up to date with 'origin/zos-next-grub'. Changes to be committed: modified: hosts/default/host-packages.nix
This commit is contained in:
parent
a5ca67a7fb
commit
9c0c13d3ca
1 changed files with 27 additions and 1 deletions
|
|
@ -1,4 +1,30 @@
|
|||
{pkgs, ...}: {
|
||||
{config, pkgs, ...}: {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
|
||||
# Add host specific flatpaks here
|
||||
services = {
|
||||
flatpak = {
|
||||
packages = [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# For power mangement on laptops
|
||||
|
||||
services.auto-cpufreq.enable = false;
|
||||
services.auto-cpufreq.settings = {
|
||||
battery = {
|
||||
governor = "powersave";
|
||||
turbo = "never";
|
||||
};
|
||||
charger = {
|
||||
governor = "performance";
|
||||
turbo = "auto";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue