about summary refs log blame commit diff stats
path: root/tests/by-name/em/email-dns/nodes/acme/client.nix
blob: 2b870e8935d267a28f637fa7953e3be33b2270d5 (plain) (tree)



















                                                  
{
  nodes,
  lib,
  ...
}: let
  inherit (nodes.acme.test-support.acme) caCert;
  inherit (nodes.acme.test-support.acme) caDomain;
in {
  security = {
    acme = {
      acceptTerms = true;
      defaults = {
        server = "https://${caDomain}/dir";
      };
    };

    pki = {
      certificateFiles = lib.mkForce [caCert];
    };
  };
}