Unverified Commit 63f858bd authored by Benjamin Staffin's avatar Benjamin Staffin Committed by GitHub
Browse files

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
parent 7dd4b0ab
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
      };
+1 −1
Original line number Diff line number Diff line
@@ -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 ];
  };
}