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:
Benjamin Staffin 2023-08-24 12:41:43 -04:00 committed by GitHub
parent 7dd4b0ab51
commit 63f858bdf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -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;
};

View file

@ -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 ];
};
}