modules/monitoring: clean up tailscale and caddy config
This commit is contained in:
parent
756357552a
commit
9a21ab6621
10 changed files with 109 additions and 47 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
|
@ -41,14 +42,19 @@
|
|||
promtail.enable = true;
|
||||
};
|
||||
|
||||
custom.prometheus.exporters = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.caddy.enable = true;
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
};
|
||||
|
||||
services.caddy.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_17;
|
||||
|
|
|
@ -31,6 +31,7 @@ in
|
|||
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
withJemalloc = true;
|
||||
settings = {
|
||||
server_name = "xiny.li";
|
||||
public_baseurl = synapseDelegateUrl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue