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.
This commit is contained in:
Andrew Marshall
2026-04-21 10:47:22 -04:00
parent b12141ef61
commit 7c34ac4769
-4
View File
@@ -677,10 +677,6 @@ let
};
in
{
imports = [
(lib.mkRenamedOptionModule [ "credentialsFile" ] [ "environmentFile" ])
];
options = {
validMinDays = lib.mkOption {
type = lib.types.nullOr lib.types.int;