summaryrefslogtreecommitdiff
path: root/modules/clickhouse.nix
blob: 12dc7fad9e2e55b76c9f14093c26b2e4d31ebce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, ... }:
with lib;
let
  cfg = config.nixfiles.modules.clickhouse;
in
{
  options.nixfiles.modules.clickhouse = {
    enable = mkEnableOption "Clickhouse";
  };

  config = mkIf cfg.enable {
    services.clickhouse = {
      enable = true;
    };
  };
}