anchor.diff:          ExecStart = "${cfg.package}/bin/caddy run --config ${configJSON}";
           ExecReload = "${cfg.package}/bin/caddy reload --config ${configJSON}";
           Type = "simple";
  -        User = "caddy";
  -        Group = "caddy";
  +        User = cfg.user;
  +        Group = cfg.group;
           Restart = "on-abnormal";
           AmbientCapabilities = "cap_net_bind_service";
           CapabilityBoundingSet = "cap_net_bind_service";
  
positive.code:       '';
      };
  
      adapter = mkOption {
        default = "caddyfile";
        example = "nginx";
  
negative.code:       };
      };
  
      users.users = optionalAttrs (cfg.user == "caddy") {
        caddy = {
          group = cfg.group;
          uid = config.ids.uids.caddy;
          home = cfg.dataDir;
          createHome = true;
        };
      };
  
      users.groups = optionalAttrs (cfg.group == "caddy") {
        caddy.gid = config.ids.gids.caddy;
      };
  
    };
  }
  