diff --git a/nixos/modules/services/torrent/opentracker.nix b/nixos/modules/services/torrent/opentracker.nix index 518830d4c279..22938e9359d4 100644 --- a/nixos/modules/services/torrent/opentracker.nix +++ b/nixos/modules/services/torrent/opentracker.nix @@ -4,19 +4,17 @@ pkgs, ... }: - -with lib; let cfg = config.services.opentracker; in { options.services.opentracker = { - enable = mkEnableOption "opentracker"; + enable = lib.mkEnableOption "opentracker"; - package = mkPackageOption pkgs "opentracker" { }; + package = lib.mkPackageOption pkgs "opentracker" { }; - extraOptions = mkOption { - type = types.separatedString " "; + extraOptions = lib.mkOption { + type = lib.types.separatedString " "; description = '' Configuration Arguments for opentracker See https://erdgeist.org/arts/software/opentracker/ for all params