hardware/form: add powertop to system packages if enabled
This commit is contained in:
parent
18796cf4e2
commit
19206a9ced
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ in
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
variables.LAPTOP = "True";
|
variables.LAPTOP = "True";
|
||||||
systemPackages = with pkgs; [ acpi brightnessctl ];
|
systemPackages = with pkgs; [ acpi brightnessctl ] ++ optional config.powerManagement.powertop.enable pkgs.powertop;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue