Compare commits
No commits in common. "134be027e28b830a56de7c52c54662767656ab7c" and "477b5abfa82e628826528a700d89010aa797c1ed" have entirely different histories.
134be027e2
...
477b5abfa8
|
@ -26,14 +26,7 @@ in {
|
||||||
dns_cache.enabled = true;
|
dns_cache.enabled = true;
|
||||||
};
|
};
|
||||||
# HACK Inherit postgres connection string for the rest of the DBs
|
# HACK Inherit postgres connection string for the rest of the DBs
|
||||||
app_service_api = {
|
app_service_api = { inherit database; };
|
||||||
inherit database;
|
|
||||||
config_files = [
|
|
||||||
"/var/lib/matrix-as-facebook/facebook-registration.yaml"
|
|
||||||
"/var/lib/matrix-as-signal/signal-registration.yaml"
|
|
||||||
"/var/lib/matrix-as-telegram/telegram-registration.yaml"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
media_api = { inherit database; };
|
media_api = { inherit database; };
|
||||||
room_server = { inherit database; };
|
room_server = { inherit database; };
|
||||||
push_server = { inherit database; };
|
push_server = { inherit database; };
|
||||||
|
@ -63,6 +56,7 @@ in {
|
||||||
homeserver = "dendrite";
|
homeserver = "dendrite";
|
||||||
homeserverDomain = "coolneng.duckdns.org";
|
homeserverDomain = "coolneng.duckdns.org";
|
||||||
homeserverURL = "https://matrix.coolneng.duckdns.org";
|
homeserverURL = "https://matrix.coolneng.duckdns.org";
|
||||||
|
addRegistrationFiles = true;
|
||||||
services = {
|
services = {
|
||||||
telegram = {
|
telegram = {
|
||||||
port = 8118;
|
port = 8118;
|
||||||
|
|
|
@ -112,7 +112,7 @@ in {
|
||||||
|
|
||||||
listen-address = [ "127.0.0.1" "192.168.13.2" "10.8.0.1" ];
|
listen-address = [ "127.0.0.1" "192.168.13.2" "10.8.0.1" ];
|
||||||
bind-interfaces = true;
|
bind-interfaces = true;
|
||||||
server = [ "127.0.0.1#43" ];
|
server = [ "51.158.108.203" "137.220.55.93" ];
|
||||||
|
|
||||||
cache-size = 10000;
|
cache-size = 10000;
|
||||||
local-ttl = 300;
|
local-ttl = 300;
|
||||||
|
@ -123,22 +123,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Encrypted DNS
|
|
||||||
services.dnscrypt-proxy2 = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
ipv6_servers = false;
|
|
||||||
require_dnssec = true;
|
|
||||||
listen_addresses = [ "127.0.0.1:43" ];
|
|
||||||
sources.public-resolvers = {
|
|
||||||
urls = [
|
|
||||||
"https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md"
|
|
||||||
];
|
|
||||||
cache_file = "/var/lib/dnscrypt-proxy2/public-resolvers.md";
|
|
||||||
minisign_key =
|
|
||||||
"RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue