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;

View File

@@ -29,12 +29,12 @@
../modules/ananicy.nix
../modules/bluetooth.nix
../modules/boot.nix
../modules/configuration.nix
../modules/common.nix
../modules/development.nix
../modules/distributed-builds.nix
../modules/fstrim.nix
../modules/gaming.nix
../modules/greetd.nix
# ../modules/greetd.nix
../modules/gsettings.nix
# ../modules/kde.nix
# ../modules/lanzaboot.nix
@@ -50,6 +50,7 @@
../modules/tlp.nix
../modules/users.nix
../modules/vm.nix
../modules/xserver.nix
];
networking.hostName = "thor";