diff --git a/nixos/modules/acme-sh.nix b/nixos/modules/acme-sh.nix index ab88ef6..d7c19ce 100644 --- a/nixos/modules/acme-sh.nix +++ b/nixos/modules/acme-sh.nix @@ -89,8 +89,8 @@ in type = types.attrsOf (types.submodule ({config, name, ...}: (with config; { options = submod config; config.statePath = "${cfg.stateDir}/${name}"; - config.keyPath = "${statePath}/${mainDomain}/${mainDomain}.key"; - config.certPath = "${statePath}/${mainDomain}/fullchain.cer"; + config.keyPath = "${statePath}/${mainDomain}_ecc/${mainDomain}.key"; + config.certPath = "${statePath}/${mainDomain}_ecc/fullchain.cer"; }))); default = {}; };