mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-19 19:30:28 +05:00
chore: remove unused services
This commit is contained in:
parent
eb14809c27
commit
392aad1171
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, ... }: {
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
mutableSettings = true;
|
||||
settings.bind_port = 55010;
|
||||
};
|
||||
}
|
|
@ -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>
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue