diff options
author | May <may@theghostsip.eu> | 2023-09-06 23:41:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 23:41:24 +0200 |
commit | 7f2ec624dda8368c0ffaee325531bf82dd714632 (patch) | |
tree | 91bc27fd8b7b66e667218b9b0b2420bfa1fe767d /nixos | |
parent | 8feb7fa2a5105735ef2320b35197e5451b302645 (diff) |
auto-cpufreq: 1.7.1 -> 1.9.9 (#253595)
* auto-cpufreq: 1.7.1 -> 1.9.9 * fix test * set `meta.buildDocsInSandbox = false` required because description depends on restricted module argument pkgs
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/hardware/auto-cpufreq.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/modules/services/hardware/auto-cpufreq.nix b/nixos/modules/services/hardware/auto-cpufreq.nix index fd2e03ef12f5d..cf27bdd8b6eb7 100644 --- a/nixos/modules/services/hardware/auto-cpufreq.nix +++ b/nixos/modules/services/hardware/auto-cpufreq.nix @@ -15,8 +15,7 @@ in { description = lib.mdDoc '' Configuration for `auto-cpufreq`. - See its [example configuration file] for supported settings. - [example configuration file]: https://github.com/AdnanHodzic/auto-cpufreq/blob/master/auto-cpufreq.conf-example + The available options can be found in [the example configuration file](https://github.com/AdnanHodzic/auto-cpufreq/blob/v${pkgs.auto-cpufreq.version}/auto-cpufreq.conf-example). ''; default = {}; @@ -35,6 +34,7 @@ in { wantedBy = [ "multi-user.target" ]; path = with pkgs; [ bash coreutils ]; + serviceConfig.WorkingDirectory = ""; serviceConfig.ExecStart = [ "" "${lib.getExe pkgs.auto-cpufreq} --daemon --config ${cfgFile}" @@ -42,4 +42,7 @@ in { }; }; }; + + # uses attributes of the linked package + meta.buildDocsInSandbox = false; } |