mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-20 03:40:29 +05:00
Change clickhouse settings
This commit is contained in:
parent
445ad3c38e
commit
5ab727ddf0
|
@ -3,4 +3,18 @@
|
|||
services.clickhouse = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# See https://github.com/NixOS/nixpkgs/pull/186667
|
||||
# and https://github.com/plausible/hosting/blob/master/clickhouse/clickhouse-config.xml
|
||||
environment.etc = {
|
||||
"clickhouse-server/config.d/logging.xml" = {
|
||||
text = ''
|
||||
<clickhouse>
|
||||
<logger>
|
||||
<level>warning</level>
|
||||
</logger>
|
||||
</clickhouse>
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue