From b259405df7f0bd9502628b8d261e2faaf33259c3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 31 Dec 2021 17:06:11 +0100 Subject: vidhar: grafana: ... --- hosts/vidhar/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index ee67d254..fc538d4d 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -134,6 +134,7 @@ }; }; }; + users.users.nginx.extraGroups = ["grafana"]; services.grafana = { enable = true; analytics.reporting.enable = false; @@ -145,10 +146,12 @@ sops.secrets."grafana-admin-password" = { format = "binary"; sopsFile = ./grafana-admin-password; + owner = "grafana"; }; sops.secrets."grafana-secret-key" = { format = "binary"; sopsFile = ./grafana-secret-key; + owner = "grafana"; }; }; } -- cgit v1.2.3