Commit 7c34ac47 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

nixos/acme: fix incorrectly using mkRenamedOptionModule in submodule

Per https://github.com/NixOS/nixpkgs/issues/96006, this does not work as
expected.

The warning trace will be emitted regardless of whether the option is
set, rendering it pointless. It does not work at the top-level either
(i.e. as `"security" "acme" "defaults" "credentialsFile"`), As such,
remove it entirely.
parent b12141ef
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -677,10 +677,6 @@ let
      };
    in
    {
      imports = [
        (lib.mkRenamedOptionModule [ "credentialsFile" ] [ "environmentFile" ])
      ];

      options = {
        validMinDays = lib.mkOption {
          type = lib.types.nullOr lib.types.int;