diff options
Diffstat (limited to 'modules/by-name/mo/monitoring/components/grafana.nix')
| -rw-r--r-- | modules/by-name/mo/monitoring/components/grafana.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/by-name/mo/monitoring/components/grafana.nix b/modules/by-name/mo/monitoring/components/grafana.nix index 503fa17..b1254e4 100644 --- a/modules/by-name/mo/monitoring/components/grafana.nix +++ b/modules/by-name/mo/monitoring/components/grafana.nix @@ -118,6 +118,21 @@ in { }; }; + users = { + groups = { + grafana = { + gid = config.vhack.constants.ids.gids.grafana; + }; + }; + users = { + grafana = { + isSystemUser = true; + group = "grafana"; + uid = lib.mkForce config.vhack.constants.ids.uids.grafana; + }; + }; + }; + vhack = { postgresql.enable = true; monitoring.grafana.dashboards = [ |
