Add some laptop settings
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m48s

This commit is contained in:
2025-05-16 11:00:46 +02:00
parent 2fceac57c5
commit 3f2f3db78a
3 changed files with 24 additions and 8 deletions

22
hosts/magicman/laptop.nix Normal file
View File

@@ -0,0 +1,22 @@
{ ... }:
{
hardware.brillo.enable = true;
powerManagement.enable = true;
services.tlp.enable = true;
services.thermald.enable = true;
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
}