summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorEvgeny Kurnevsky <kurnevsky@gmail.com>2023-01-29 10:19:17 +0300
committerEvgeny Kurnevsky <kurnevsky@gmail.com>2023-01-29 10:25:08 +0300
commit8542aa185d825b9a567b5f6910d280852a4933eb (patch)
tree0d357df2e9918b18361bf589889ca6b5ae0b9db7 /nixos
parentf5f566d0ff72409a90b52a610e85b8d8c7182651 (diff)
throttled: fix after recent update
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/hardware/throttled.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/throttled.nix b/nixos/modules/services/hardware/throttled.nix
index 2d801a7e838f..afca24d976e1 100644
--- a/nixos/modules/services/hardware/throttled.nix
+++ b/nixos/modules/services/hardware/throttled.nix
@@ -20,7 +20,7 @@ in {
config = mkIf cfg.enable {
systemd.packages = [ pkgs.throttled ];
# The upstream package has this in Install, but that's not enough, see the NixOS manual
- systemd.services.lenovo_fix.wantedBy = [ "multi-user.target" ];
+ systemd.services.throttled.wantedBy = [ "multi-user.target" ];
environment.etc."throttled.conf".source =
if cfg.extraConfig != ""