diff --git a/lambda/configuration.nix b/lambda/configuration.nix index d92c3a0..34acfc9 100644 --- a/lambda/configuration.nix +++ b/lambda/configuration.nix @@ -25,35 +25,6 @@ lidSwitchDocked = "ignore"; lidSwitchExternalPower = "hibernate"; }; - services.tlp = { - enable = true; - settings = { - TLP_DEFAULT_MODE = "BAT"; - DISK_IDLE_SECS_ON_AC = 0; - DISK_IDLE_SECS_ON_BAT = 5; - MAX_LOST_WORK_SECS_ON_AC = 15; - MAX_LOST_WORK_SECS_ON_BAT = 120; - CPU_SCALING_GOVERNOR_ON_AC = "performance"; - CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; - CPU_SCALING_MIN_FREQ_ON_AC = 400000; - CPU_SCALING_MAX_FREQ_ON_AC = 4700000; - CPU_SCALING_MIN_FREQ_ON_BAT = 400000; - CPU_SCALING_MAX_FREQ_ON_BAT = 2700000; - CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance"; - CPU_ENERGY_PERF_POLICY_ON_BAT = "power"; - CPU_MIN_PERF_ON_AC = 0; - CPU_MAX_PERF_ON_AC = 100; - CPU_MIN_PERF_ON_BAT = 0; - CPU_MAX_PERF_ON_BAT = 30; - CPU_BOOST_ON_AC = 1; - CPU_BOOST_ON_BAT = 0; - SCHED_POWERSAVE_ON_AC = 0; - SCHED_POWERSAVE_ON_BAT = 1; - NMI_WATCHDOG = 0; - DISK_DEVICES = "nvme0n1"; - }; - }; - services.power-profiles-daemon.enable = false; # [BOOT / DISK ENCRYPTION] boot.loader.efi.canTouchEfiVariables = true; @@ -162,7 +133,10 @@ git neovim ]; - programs.gamemode.enable = true; + programs.gamemode = { + enable = true; + settings.general.renice = 20; + }; programs.steam.enable = true; # [SERVICES]