From 19206a9ced204f29cde0f4852fd201ed8402074d Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 31 Oct 2023 09:31:19 -0400 Subject: [PATCH] hardware/form: add powertop to system packages if enabled --- modules/modules/hardware/form.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modules/hardware/form.nix b/modules/modules/hardware/form.nix index 771f1b1..7e4343a 100644 --- a/modules/modules/hardware/form.nix +++ b/modules/modules/hardware/form.nix @@ -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; }; })