chore: remove unused services

This commit is contained in:
Ivan R. 2024-03-03 19:57:51 +05:00
parent eb14809c27
commit 392aad1171
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
5 changed files with 0 additions and 77 deletions

View file

@ -18,15 +18,12 @@
./programs/synapse.nix
./programs/fail2ban.nix
./programs/maddy.nix
./programs/plausible.nix
./programs/clickhouse.nix
./programs/docker.nix
./programs/microboard.nix
./programs/freshrss.nix
./programs/comfycamp.nix
./programs/phoenix.nix
./programs/deluge.nix
./programs/adguard.nix
./programs/prosody.nix
./programs/yggdrasil.nix
];

View file

@ -11,7 +11,6 @@
enable = true;
allowedTCPPorts = [
22 # SSH
53 # adguard
80 # nginx
443 # nginx
25 # smtp inbound
@ -31,10 +30,8 @@
6881 # torrents
16001 # yggdrasil tcp
16002 # yggdrasil tls
55010 # adguard
];
allowedUDPPorts = [
53 # adguard
1900 # jellyfin
7359 # jellyfin
6881 # torrents

View file

@ -1,7 +0,0 @@
{ config, ... }: {
services.adguardhome = {
enable = true;
mutableSettings = true;
settings.bind_port = 55010;
};
}

View file

@ -1,30 +0,0 @@
{ config, ... }:
{
services.clickhouse = {
enable = false;
};
# 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>
<!-- Stop all the unnecessary logging -->
<query_thread_log remove="remove"/>
<query_log remove="remove"/>
<text_log remove="remove"/>
<trace_log remove="remove"/>
<metric_log remove="remove"/>
<asynchronous_metric_log remove="remove"/>
<session_log remove="remove"/>
<part_log remove="remove"/>
</clickhouse>
'';
};
};
}

View file

@ -1,34 +0,0 @@
{ config, lib, ... }:
{
services.plausible = {
enable = false;
database.postgres = {
setup = false;
dbname = "plausible";
};
database.clickhouse = {
setup = false;
url = "http://localhost:8123/plausible";
};
server = {
baseUrl = "https://plausible.comfycamp.space";
port = 55005;
secretKeybaseFile = "/var/lib/secrets/plausible/keybase.txt";
};
adminUser = {
name = "lumin";
email = "lumin@comfycamp.space";
passwordFile = "/var/lib/secrets/plausible/admin-pass.txt";
};
mail = {
email = "plausible@comfycamp.space";
smtp = {
enableSSL = true;
hostAddr = "comfycamp.space";
hostPort = 465;
passwordFile = "/var/lib/secrets/plausible/smtp-pass.txt";
user = "plausible@comfycamp.space";
};
};
};
}