diff options
author | Karel Kočí <cynerd@email.cz> | 2024-07-22 14:27:17 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-07-22 14:27:17 +0200 |
commit | 13e208b84c9d0479ed65e7e0189acd5441b297a8 (patch) | |
tree | a31ef692afe15f06efaa84eadc1e64858f03f190 /nixos/modules | |
parent | a184ad849f060dd24840ddc3d3dd61ade12d1980 (diff) | |
download | nixos-personal-13e208b84c9d0479ed65e7e0189acd5441b297a8.tar.gz nixos-personal-13e208b84c9d0479ed65e7e0189acd5441b297a8.tar.bz2 nixos-personal-13e208b84c9d0479ed65e7e0189acd5441b297a8.zip |
monitoring: fix urls in grafana alerts
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/monitoring.nix | 4 |
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; }; |