Compare commits
4 Commits
3b2b6699da
...
90d767d7ce
Author | SHA1 | Date |
---|---|---|
coolneng | 90d767d7ce | |
coolneng | 90096c1c46 | |
coolneng | 338bb73507 | |
coolneng | 770d428bdf |
|
@ -72,7 +72,7 @@
|
|||
|
||||
# Run Nix garbage collector, while avoiding recompilation
|
||||
nix = {
|
||||
autoOptimiseStore = true;
|
||||
settings.auto-optimise-store = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 14d";
|
||||
|
|
|
@ -4,18 +4,21 @@
|
|||
# Matrix server configuration
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
server_name = "coolneng.duckdns.org";
|
||||
public_baseurl = "https://matrix.coolneng.duckdns.org";
|
||||
listeners = [{
|
||||
port = 8008;
|
||||
tls = false;
|
||||
resources = [{
|
||||
compress = true;
|
||||
names = [ "client" ];
|
||||
settings = {
|
||||
server_name = "coolneng.duckdns.org";
|
||||
public_baseurl = "https://matrix.coolneng.duckdns.org";
|
||||
listeners = [{
|
||||
port = 8008;
|
||||
tls = false;
|
||||
resources = [{
|
||||
compress = true;
|
||||
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
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
config = {
|
||||
BASE_URL = "https://rss.coolneng.duckdns.org";
|
||||
RUN_MIGRATIONS = "1";
|
||||
DISABLE_HSTS = "1";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ in {
|
|||
chown -R dnsmasq ${stateDir}
|
||||
systemctl restart dnsmasq
|
||||
'';
|
||||
after = [ "wireguard-wg0.service" ];
|
||||
startAt = "02:00:00";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue