diff --git a/modules/dgn-monitoring/default.nix b/modules/dgn-monitoring/default.nix new file mode 100644 index 0000000..5ae003b --- /dev/null +++ b/modules/dgn-monitoring/default.nix @@ -0,0 +1,16 @@ +{ config, ... }: + +{ + services.vmagent = { + enable = true; + + remoteWrite = { + url = "https://victoria-metrics.dgnum.eu"; + basicAuthUsername = ""; + basicAuthPasswordFile = config.age.secrets."vmagent-aut_password_file".path; + }; + + # FIXME: Write the actual configuration + prometheusConfig = { }; + }; +}