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, config,
hostname,
... ...
}: { }: {
boot = { boot = {
@@ -12,15 +11,9 @@
enable = true; enable = true;
settings = { settings = {
TLP_DEFAULT_MODE = TLP_DEFAULT_MODE = "BAT";
if hostname == "laptop"
then "BAT"
else "AC";
TLP_PERSISTENT_DEFAULT = TLP_PERSISTENT_DEFAULT = 0;
if hostname == "laptop"
then 0
else 1;
CPU_BOOST_ON_AC = 1; CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0; CPU_BOOST_ON_BAT = 0;

View File

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