1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

reinstate zaatar

This commit is contained in:
2024-07-11 16:07:39 +02:00
parent a744ed593b
commit a664bfbe1b
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
environment.variables.ATUIN_CONFIG_DIR = toString (pkgs.writeTextDir "/config.toml" '' environment.variables.ATUIN_CONFIG_DIR = toString (pkgs.writeTextDir "/config.toml" ''
auto_sync = true auto_sync = true
update_check = false update_check = false
sync_address = "http://tahina.r:8888" sync_address = "http://zaatar.r:8888"
sync_frequency = 0 sync_frequency = 0
style = "compact" style = "compact"
''); '');

View File

@@ -11,7 +11,7 @@
restic = rec { restic = rec {
port = 3571; port = 3571;
host = "tahina.r"; host = "zaatar.r";
repository = "rest:http://${host}:${toString port}/"; repository = "rest:http://${host}:${toString port}/";
}; };

View File

@@ -317,12 +317,12 @@ in {
]; ];
} }
{ {
job_name = "tahina"; job_name = "zaatar";
static_configs = [ static_configs = [
{ {
targets = [ targets = [
"tahina.r:${toString config.services.prometheus.exporters.node.port}" "zaatar.r:${toString config.services.prometheus.exporters.node.port}"
"tahina.r:${toString restic.port}" "zaatar.r:${toString restic.port}"
]; ];
} }
]; ];
@@ -332,7 +332,7 @@ in {
scrape_interval = "60s"; scrape_interval = "60s";
metrics_path = "/api/prometheus"; metrics_path = "/api/prometheus";
scheme = "http"; scheme = "http";
static_configs = [{targets = ["tahina.r:8123"];}]; static_configs = [{targets = ["zaatar.r:8123"];}];
bearer_token_file = config.age.secrets.home-assistant-token.path; bearer_token_file = config.age.secrets.home-assistant-token.path;
} }
{ {