Compare commits

..

No commits in common. "90d767d7ce23010a5ee28ca684f9ad8cf1c04149" and "3b2b6699dae54c2f9f381da02d720149ea77b3aa" have entirely different histories.

4 changed files with 12 additions and 17 deletions

View File

@ -72,7 +72,7 @@
# Run Nix garbage collector, while avoiding recompilation # Run Nix garbage collector, while avoiding recompilation
nix = { nix = {
settings.auto-optimise-store = true; autoOptimiseStore = true;
gc = { gc = {
automatic = true; automatic = true;
options = "--delete-older-than 14d"; options = "--delete-older-than 14d";

View File

@ -4,21 +4,18 @@
# Matrix server configuration # Matrix server configuration
services.matrix-synapse = { services.matrix-synapse = {
enable = true; enable = true;
settings = { server_name = "coolneng.duckdns.org";
server_name = "coolneng.duckdns.org"; public_baseurl = "https://matrix.coolneng.duckdns.org";
public_baseurl = "https://matrix.coolneng.duckdns.org"; listeners = [{
listeners = [{ port = 8008;
port = 8008; tls = false;
tls = false; resources = [{
resources = [{ compress = true;
compress = true; names = [ "client" ];
names = [ "client" ];
}];
bind_addresses = [ "127.0.0.1" ];
}]; }];
app_service_config_files = }];
[ "/var/lib/matrix-synapse/telegram-registration.yaml" ]; app_service_config_files =
}; [ "/var/lib/matrix-synapse/telegram-registration.yaml" ];
}; };
# Telegram bridge for Matrix # Telegram bridge for Matrix

View File

@ -8,7 +8,6 @@
config = { config = {
BASE_URL = "https://rss.coolneng.duckdns.org"; BASE_URL = "https://rss.coolneng.duckdns.org";
RUN_MIGRATIONS = "1"; RUN_MIGRATIONS = "1";
DISABLE_HSTS = "1";
}; };
}; };

View File

@ -25,7 +25,6 @@ in {
chown -R dnsmasq ${stateDir} chown -R dnsmasq ${stateDir}
systemctl restart dnsmasq systemctl restart dnsmasq
''; '';
after = [ "wireguard-wg0.service" ];
startAt = "02:00:00"; startAt = "02:00:00";
}; };