mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Compare commits
2 commits
cad0239cc9
...
fa8bb4855e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fa8bb4855e | ||
![]() |
831cc222a9 |
|
@ -7,7 +7,6 @@
|
|||
imports =
|
||||
[ ../work/configuration.nix # Personal is essentially work system + games
|
||||
../../system/hardware-configuration.nix
|
||||
#../../system/hardware/openrgb.nix
|
||||
../../system/app/gamemode.nix
|
||||
../../system/app/steam.nix
|
||||
../../system/app/prismlauncher.nix
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.openrgb-with-all-plugins ];
|
||||
|
||||
# OpenRGB setup
|
||||
services.hardware.openrgb = {
|
||||
enable = true;
|
||||
motherboard = "amd";
|
||||
};
|
||||
}
|
|
@ -1,23 +1,11 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
#services.auto-cpufreq.enable = true;
|
||||
#services.auto-cpufreq.settings = {
|
||||
# charger = {
|
||||
# governor = "performance";
|
||||
# turbo = "auto";
|
||||
# };
|
||||
# battery = {
|
||||
# governor = "schedutil";
|
||||
# scaling_max_freq = 3800000;
|
||||
# turbo = "never";
|
||||
# };
|
||||
#};
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "schedutil";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "performance";
|
||||
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "performance";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
|
@ -26,6 +14,15 @@
|
|||
CPU_MAX_PERF_ON_AC = 100;
|
||||
CPU_MIN_PERF_ON_BAT = 0;
|
||||
CPU_MAX_PERF_ON_BAT = 100;
|
||||
|
||||
CPU_BOOST_ON_AC = 1;
|
||||
CPU_BOOST_ON_BAT = 0;
|
||||
|
||||
START_CHARGE_THRESH_BAT0 = 75;
|
||||
STOP_CHARGE_THRESH_BAT0 = 80;
|
||||
|
||||
PLATFORM_PROFILE_ON_AC = "performance";
|
||||
PLATFORM_PROFILE_ON_BAT = "balanced";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue