hardware/form: add powertop to system packages if enabled

This commit is contained in:
Infinidoge 2023-10-31 09:31:19 -04:00
parent 18796cf4e2
commit 19206a9ced

View file

@ -47,7 +47,7 @@ in
environment = {
variables.LAPTOP = "True";
systemPackages = with pkgs; [ acpi brightnessctl ];
systemPackages = with pkgs; [ acpi brightnessctl ] ++ optional config.powerManagement.powertop.enable pkgs.powertop;
};
})