add laura vpn clinet

This commit is contained in:
Vivian 2022-07-29 21:43:49 +02:00
parent f8d90ddf41
commit ccf04404ad
5 changed files with 19 additions and 7 deletions

View file

@ -55,6 +55,7 @@ in
virtualHosts."md.0x76.dev" = proxy "http://hedgedoc.olympus:3000/";
virtualHosts."git.0x76.dev" = proxy "http://gitea.olympus:3000";
virtualHosts."o.0x76.dev" = proxy "http://minio.olympus:9000";
virtualHosts."grafana.0x76.dev" = proxy "http://victoriametrics.olympus:2342";
# Meow
virtualHosts."meowy.tech" = {

View file

@ -37,7 +37,10 @@ in
enable = true;
openFirewall = true;
prometheusConfig = {
global.scrape_interval = "5s";
global = {
scrape_interval = "1m";
scrape_timeout = "30s";
};
scrape_configs = [
{
job_name = "synapse";
@ -60,6 +63,8 @@ in
enable = true;
addr = "0.0.0.0";
port = 2342;
domain = "grafana.0x76.dev";
rootUrl = "https://grafana.0x76.dev";
security.adminPasswordFile = "${vs.grafana}/password";
};
}

View file

@ -45,6 +45,11 @@ let vs = config.vault-secrets.secrets; in
publicKey = "K+99mvSYs4urcclreQDLA1pekD4xtu/mpS2uVWw8Bws=";
allowedIPs = [ "10.100.0.2/32" ];
}
{
# Laura's laptop
publicKey = "ZWIaDGrASlTkEK75j10VeGCvrIGfpk4GPobmqcYX2D0=";
allowedIPs = [ "10.100.0.3/32" ];
}
];
};
}