summaryrefslogtreecommitdiff
path: root/nixos/features/services
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/features/services')
-rw-r--r--nixos/features/services/hardware/tlp.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/features/services/hardware/tlp.nix b/nixos/features/services/hardware/tlp.nix
index 018fc11..9ac9f7c 100644
--- a/nixos/features/services/hardware/tlp.nix
+++ b/nixos/features/services/hardware/tlp.nix
@@ -1,8 +1,9 @@
-{ config, lib, ... }: let
+{ config, lib, pkgs, ... }: let
cfg = config.features.services.hardware.tlp;
in {
options.features.services.hardware.tlp.enable = lib.mkEnableOption "tlp";
config = lib.mkIf cfg.enable {
+ environment.systemPackages = [ pkgs.tlp ];
services.tlp = {
enable = true;
settings = {