about summary refs log tree commit diff
path: root/machines/devhell
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2021-10-27 09:55:16 +0200
committerdevhell <devhell@mailfresser.de>2021-10-27 09:56:12 +0200
commit24ab2f81bdb71c3d9f6376a64b1b2e158d952d28 (patch)
tree7793e316fb5ecdd9dafcd8e1c8ef87de6753f711 /machines/devhell
parent8f94668741384c206328c1abce939a6f711ba874 (diff)
machines/eir: Remove tlp.extraConfig
This has been removed a while ago, so might as well remove this too.
Diffstat (limited to 'machines/devhell')
-rw-r--r--machines/devhell/eir.nix45
1 files changed, 1 insertions, 44 deletions
diff --git a/machines/devhell/eir.nix b/machines/devhell/eir.nix
index 162ba78d..e9d76180 100644
--- a/machines/devhell/eir.nix
+++ b/machines/devhell/eir.nix
@@ -176,50 +176,7 @@
     '';
   };
 
-  services.tlp = {
-    enable = true;
-    extraConfig = ''
-      TLP_ENABLE = 1
-      DISK_IDLE_SECS_ON_BAT=2
-      MAX_LOST_WORK_SECS_ON_AC=15
-      MAX_LOST_WORK_SECS_ON_BAT=60
-      SCHED_POWERSAVE_ON_AC=0
-      SCHED_POWERSAVE_ON_BAT=1
-      NMI_WATCHDOG=0
-      DISK_DEVICES="sda sdb"
-      DISK_APM_LEVEL_ON_AC="254 254"
-      DISK_APM_LEVEL_ON_BAT="254 127"
-      DISK_IOSCHED="bfq bfq"
-      SATA_LINKPWR_ON_AC=max_performance
-      SATA_LINKPWR_ON_BAT=min_power
-      PCIE_ASPM_ON_AC=performance
-      PCIE_ASPM_ON_BAT=powersave
-      WIFI_PWR_ON_AC=1
-      WIFI_PWR_ON_BAT=5
-      WOL_DISABLE=Y
-      SOUND_POWER_SAVE_ON_AC=0
-      SOUND_POWER_SAVE_ON_BAT=1
-      SOUND_POWER_SAVE_CONTROLLER=Y
-      RUNTIME_PM_ON_AC=on
-      RUNTIME_PM_ON_BAT=auto
-      RUNTIME_PM_ALL=1
-      USB_AUTOSUSPEND=1
-      USB_BLACKLIST_WWAN=1
-      RESTORE_DEVICE_STATE_ON_STARTUP=0
-      DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wwan"
-      DEVICES_TO_ENABLE_ON_STARTUP="wifi"
-      DEVICES_TO_DISABLE_ON_SHUTDOWN="bluetooth wifi wwan"
-      #DEVICES_TO_ENABLE_ON_SHUTDOWN=""
-      START_CHARGE_THRESH_BAT0=70
-      STOP_CHARGE_THRESH_BAT0=95
-      #DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi wwan"
-      #DEVICES_TO_DISABLE_ON_WIFI_CONNECT="wwan"
-      #DEVICES_TO_DISABLE_ON_WWAN_CONNECT="wifi"
-      #DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi wwan"
-      #DEVICES_TO_ENABLE_ON_WIFI_DISCONNECT=""
-      #DEVICES_TO_ENABLE_ON_WWAN_DISCONNECT=""
-    '';
-  };
+  services.tlp.enable = true;
 
   #### Machine-specific packages configuration ####