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

Changed files
+2 -3
nixos
modules
services
pkgs
tools
system
hddfancontrol
+1 -2
nixos/modules/services/hardware/hddfancontrol.nix
···
{
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;
···
systemd.packages = [pkgs.hddfancontrol];
systemd.services.hddfancontrol = {
-
enable = true;
wantedBy = [ "multi-user.target" ];
environment.HDDFANCONTROL_ARGS = lib.escapeShellArgs args;
};
+1 -1
pkgs/tools/system/hddfancontrol/default.nix
···
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 ];
};
}