hddfancontrol: license and metadata tweaks (#251184)
* nixos/hddfancontrol: missed a few code review tweaks Following up on https://github.com/NixOS/nixpkgs/pull/239801#pullrequestreview-1498132501 * hddfancontrol: Fix license field
This commit is contained in:
parent
7dd4b0ab51
commit
63f858bdf8
2 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,7 @@ in
|
|||
{
|
||||
options = {
|
||||
|
||||
services.hddfancontrol.enable = lib.mkEnableOption "hddfancontrol daemon";
|
||||
services.hddfancontrol.enable = lib.mkEnableOption (lib.mdDoc "hddfancontrol daemon");
|
||||
|
||||
services.hddfancontrol.disks = lib.mkOption {
|
||||
type = with types; listOf path;
|
||||
|
@ -58,7 +58,6 @@ in
|
|||
systemd.packages = [pkgs.hddfancontrol];
|
||||
|
||||
systemd.services.hddfancontrol = {
|
||||
enable = true;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
environment.HDDFANCONTROL_ARGS = lib.escapeShellArgs args;
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ python3Packages.buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Dynamically control fan speed according to hard drive temperature on Linux";
|
||||
homepage = "https://github.com/desbma/hddfancontrol";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ benley ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue