diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-01-23 23:54:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 23:54:18 +0100 |
commit | deeba2fb9e1fe4303de23de7c811fd871b95c265 (patch) | |
tree | 841063947773f705f64e8297aba7ebe319416280 /nixos | |
parent | e0c1c6a689a79df92358604ccd7ca116269486fe (diff) | |
parent | 77ff62438226498540dafe681e13cc8ef1551c8c (diff) |
Merge pull request #206257 from matklad/throttledup
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/hardware/throttled.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/hardware/throttled.nix b/nixos/modules/services/hardware/throttled.nix index 99735ff6519d5..2d801a7e838ff 100644 --- a/nixos/modules/services/hardware/throttled.nix +++ b/nixos/modules/services/hardware/throttled.nix @@ -22,10 +22,10 @@ in { # The upstream package has this in Install, but that's not enough, see the NixOS manual systemd.services.lenovo_fix.wantedBy = [ "multi-user.target" ]; - environment.etc."lenovo_fix.conf".source = + environment.etc."throttled.conf".source = if cfg.extraConfig != "" - then pkgs.writeText "lenovo_fix.conf" cfg.extraConfig - else "${pkgs.throttled}/etc/lenovo_fix.conf"; + then pkgs.writeText "throttled.conf" cfg.extraConfig + else "${pkgs.throttled}/etc/throttled.conf"; # Kernel 5.9 spams warnings whenever userspace writes to CPU MSRs. # See https://github.com/erpalma/throttled/issues/215 |