aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-07-22 14:27:17 +0200
committerKarel Kočí <cynerd@email.cz>2024-07-22 14:27:17 +0200
commit13e208b84c9d0479ed65e7e0189acd5441b297a8 (patch)
treea31ef692afe15f06efaa84eadc1e64858f03f190
parenta184ad849f060dd24840ddc3d3dd61ade12d1980 (diff)
downloadnixos-personal-13e208b84c9d0479ed65e7e0189acd5441b297a8.tar.gz
nixos-personal-13e208b84c9d0479ed65e7e0189acd5441b297a8.tar.bz2
nixos-personal-13e208b84c9d0479ed65e7e0189acd5441b297a8.zip
monitoring: fix urls in grafana alerts
-rw-r--r--nixos/modules/monitoring.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/monitoring.nix b/nixos/modules/monitoring.nix
index 394915a..e4fa195 100644
--- a/nixos/modules/monitoring.nix
+++ b/nixos/modules/monitoring.nix
@@ -78,7 +78,7 @@ in {
nstat = [{}];
system = [{}];
processes = [{}];
- systemd_units = [{}];
+ systemd_units = [{details = true;}];
wireguard = [{}];
}
// (optionalAttrs cnf.drives {
@@ -152,6 +152,8 @@ in {
admin_password = "$__file{/run/secrets/grafana.admin.pass}";
};
server = {
+ domain = "grafana.cynerd.cz";
+ root_url = "https://%(domain)s/";
http_addr = "";
http_port = 3000;
};