fix: laptop typos adjustments

This commit is contained in:
2025-01-08 16:58:00 +01:00
parent 3b2cbc6e04
commit b7d8c84b4b
2 changed files with 5 additions and 11 deletions

View File

@@ -1,6 +1,5 @@
{
config,
hostname,
...
}: {
boot = {
@@ -12,15 +11,9 @@
enable = true;
settings = {
TLP_DEFAULT_MODE =
if hostname == "laptop"
then "BAT"
else "AC";
TLP_DEFAULT_MODE = "BAT";
TLP_PERSISTENT_DEFAULT =
if hostname == "laptop"
then 0
else 1;
TLP_PERSISTENT_DEFAULT = 0;
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;