summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-12-03 11:26:16 +0100
committerGitHub <noreply@github.com>2020-12-03 11:26:16 +0100
commitc1695ade0b3d63241a718f2d3293cfcdf73c7143 (patch)
treea2b8bab087e39cef6010618b6712d6f453e49f3b /nixos/modules
parentf3bc692d8d21927fefad63886a39c1bea44ee796 (diff)
parent873be872c64f2a8b869febf892ccbc946c724ec6 (diff)
Merge pull request #105745 from archseer/thermald-2-4
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/hardware/thermald.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/nixos/modules/services/hardware/thermald.nix b/nixos/modules/services/hardware/thermald.nix
index b7be0e89d0c6..241490c5aae7 100644
--- a/nixos/modules/services/hardware/thermald.nix
+++ b/nixos/modules/services/hardware/thermald.nix
@@ -23,15 +23,6 @@ in {
default = null;
description = "the thermald manual configuration file.";
};
-
- adaptive = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to enable adaptive mode, only working on kernel versions greater than 5.8.
- Thermald will detect this itself, safe to enable on kernel versions below 5.8.
- '';
- };
};
};
@@ -48,8 +39,8 @@ in {
--no-daemon \
${optionalString cfg.debug "--loglevel=debug"} \
${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
- ${optionalString cfg.adaptive "--adaptive"} \
--dbus-enable
+ --adaptive
'';
};
};