mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
reinstate zaatar
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
environment.variables.ATUIN_CONFIG_DIR = toString (pkgs.writeTextDir "/config.toml" ''
|
||||
auto_sync = true
|
||||
update_check = false
|
||||
sync_address = "http://tahina.r:8888"
|
||||
sync_address = "http://zaatar.r:8888"
|
||||
sync_frequency = 0
|
||||
style = "compact"
|
||||
'');
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
restic = rec {
|
||||
port = 3571;
|
||||
host = "tahina.r";
|
||||
host = "zaatar.r";
|
||||
repository = "rest:http://${host}:${toString port}/";
|
||||
};
|
||||
|
||||
|
||||
@@ -317,12 +317,12 @@ in {
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "tahina";
|
||||
job_name = "zaatar";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [
|
||||
"tahina.r:${toString config.services.prometheus.exporters.node.port}"
|
||||
"tahina.r:${toString restic.port}"
|
||||
"zaatar.r:${toString config.services.prometheus.exporters.node.port}"
|
||||
"zaatar.r:${toString restic.port}"
|
||||
];
|
||||
}
|
||||
];
|
||||
@@ -332,7 +332,7 @@ in {
|
||||
scrape_interval = "60s";
|
||||
metrics_path = "/api/prometheus";
|
||||
scheme = "http";
|
||||
static_configs = [{targets = ["tahina.r:8123"];}];
|
||||
static_configs = [{targets = ["zaatar.r:8123"];}];
|
||||
bearer_token_file = config.age.secrets.home-assistant-token.path;
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user