mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
Merge pull request #105745 from archseer/thermald-2-4
This commit is contained in:
commit
c1695ade0b
@ -652,6 +652,12 @@
|
|||||||
githubId = 56009;
|
githubId = 56009;
|
||||||
name = "Arcadio Rubio García";
|
name = "Arcadio Rubio García";
|
||||||
};
|
};
|
||||||
|
archseer = {
|
||||||
|
email = "blaz@mxxn.io";
|
||||||
|
github = "archseer";
|
||||||
|
githubId = 1372918;
|
||||||
|
name = "Blaž Hrastnik";
|
||||||
|
};
|
||||||
arcnmx = {
|
arcnmx = {
|
||||||
email = "arcnmx@users.noreply.github.com";
|
email = "arcnmx@users.noreply.github.com";
|
||||||
github = "arcnmx";
|
github = "arcnmx";
|
||||||
|
@ -23,15 +23,6 @@ in {
|
|||||||
default = null;
|
default = null;
|
||||||
description = "the thermald manual configuration file.";
|
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 \
|
--no-daemon \
|
||||||
${optionalString cfg.debug "--loglevel=debug"} \
|
${optionalString cfg.debug "--loglevel=debug"} \
|
||||||
${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
|
${optionalString (cfg.configFile != null) "--config-file ${cfg.configFile}"} \
|
||||||
${optionalString cfg.adaptive "--adaptive"} \
|
|
||||||
--dbus-enable
|
--dbus-enable
|
||||||
|
--adaptive
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "thermald";
|
pname = "thermald";
|
||||||
version = "2.3";
|
version = "2.4.1";
|
||||||
|
|
||||||
outputs = [ "out" "devdoc" ];
|
outputs = [ "out" "devdoc" ];
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "thermal_daemon";
|
repo = "thermal_daemon";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0cisaca2c2z1x9xvxc4lr6nl6yqx5bww6brh73m0p1n643jgq1dl";
|
sha256 = "0rlac7v1b59m7gh767hkd8a0r4p001nd24786fnmryygbxynd2s6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user