feat: f*ck you nvidia

This commit is contained in:
Jacob Bachmann 2024-04-29 22:37:44 +02:00
parent bb446c29ee
commit 36ace852a8
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
15 changed files with 95 additions and 46 deletions

View file

@ -1,11 +1,10 @@
{ pkgs, ... }: {
{ pkgs, config, ... }: with config.bchmnn; {
powerManagement = {
enable = true;
# powertop.enable = true;
};
services.tlp = {
enable = true;
enable = !builtins.elem "gnome" gui.flavour;
settings = {
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";