From 7c34ac47698ab30ef083ad712924799d1eb7dbb5 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Tue, 21 Apr 2026 10:36:10 -0400 Subject: [PATCH] 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. --- nixos/modules/security/acme/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/security/acme/default.nix b/nixos/modules/security/acme/default.nix index 2a2e816512e9..b5de6e9e8d94 100644 --- a/nixos/modules/security/acme/default.nix +++ b/nixos/modules/security/acme/default.nix @@ -677,10 +677,6 @@ let }; in { - imports = [ - (lib.mkRenamedOptionModule [ "credentialsFile" ] [ "environmentFile" ]) - ]; - options = { validMinDays = lib.mkOption { type = lib.types.nullOr lib.types.int;