Enable CPU management for surface

This commit is contained in:
Manuel Thalmann 2024-05-21 10:40:34 +02:00
parent 3e61864ed3
commit ab1f959075
2 changed files with 13 additions and 0 deletions

8
lib/hardware/surface.nix Normal file
View file

@ -0,0 +1,8 @@
{ ... }: {
config = {
services = {
auto-cpufreq.enable = true;
thermald.enable = true;
};
};
}

View file

@ -0,0 +1,5 @@
{ ... }: {
imports = [
../hardware/surface.nix
];
}