Initial grafana setup

This commit is contained in:
daragh 2024-05-21 02:23:10 +01:00
parent da721924e4
commit 519e907278
No known key found for this signature in database
3 changed files with 84 additions and 0 deletions

View file

@ -25,6 +25,7 @@ Notes:
groups_trusted = map (x: "@${x}") groups;
in {
imports = [
../applications/grafana.nix
];
deployment = {
@ -49,6 +50,15 @@ in {
sudo_groups = groups;
};
services.skynet.grafana = {
enable = true;
host = {
ip = ip_pub;
name = name;
};
};
skynet_dns.records = [
{
record = name;