update: enable powertop

This commit is contained in:
Veneficium 2024-07-03 17:43:37 +02:00
parent 09281dd0e7
commit c91e249190
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
{ config, lib, ... }: {
options = {
settings.programs.powertop.enable = lib.mkEnableOption "enables powertop";
};
config = lib.mkIf config.settings.programs.powertop.enable {
powerManagement.powertop.enable = true;
};
}