This repository has been archived on 2026-03-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nixos/hosts/magicman/laptop.nix
Torjus Håkestad e51237ff21
Some checks failed
Run nix flake check / flake-check (push) Failing after 1s
magicman: replace tlp with thermald
TLP and auto-cpufreq conflict as both manage CPU frequency scaling.
Remove TLP and add thermald for Intel thermal management instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 19:56:19 +01:00

22 lines
361 B
Nix

{ ... }:
{
hardware.brillo.enable = true;
powerManagement.enable = true;
services.thermald.enable = true;
services.auto-cpufreq = {
enable = true;
settings = {
battery = {
governor = "powersave";
turbo = "never";
};
charger = {
governor = "performance";
turbo = "auto";
};
};
};
}