services.clickhouse.serverConfig

NixOS option

Your config.yaml as a Nix attribute set. Check the documentation for possible options.

type: YAML 1.1 value
Default
{ }
Example
{
  http_port = 8123;
  tcp_port = 9000;

  remote_servers = {
    default = {
      shard = {
        replica = [
          { host = "::"; port = "9000"; }
          { host = "::"; port = "9001"; }
          { host = "::"; port = "9002"; }
        ];
      };
    };
  };
}
declared in: nixos/modules/services/databases/clickhouse.nixView source on NixOS/nixpkgs →