anchor.diff:        example = "nginx";
         type = types.str;
         description = ''
  -        Name of the config adapter to use. Not applicable to Caddy v1.
  +        Name of the config adapter to use.
           See https://caddyserver.com/docs/config-adapters for the full list.
         '';
       };
  
positive.code:   cfg = config.services.caddy;
    configFile = pkgs.writeText "Caddyfile" cfg.config;
  
    # v2-specific options
    isCaddy2 = versionAtLeast cfg.package.version "2.0";
    tlsConfig = {
      apps.tls.automation.policies = [{
        issuer = {
  
negative.code:       after = [ "network-online.target" ];
        wants = [ "network-online.target" ]; # systemd-networkd-wait-online.service
        wantedBy = [ "multi-user.target" ];
        serviceConfig = {
          ExecStart = "${cfg.package}/bin/caddy run --config ${configJSON}";
          ExecReload = "${cfg.package}/bin/caddy reload --config ${configJSON}";
          Type = "simple";
          User = "caddy";
          Group = "caddy";
  