diff options
-rw-r--r-- | hosts/vidhar/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ | |||
134 | }; | 134 | }; |
135 | }; | 135 | }; |
136 | }; | 136 | }; |
137 | users.users.nginx.extraGroups = ["grafana"]; | ||
137 | services.grafana = { | 138 | services.grafana = { |
138 | enable = true; | 139 | enable = true; |
139 | analytics.reporting.enable = false; | 140 | analytics.reporting.enable = false; |
@@ -145,10 +146,12 @@ | |||
145 | sops.secrets."grafana-admin-password" = { | 146 | sops.secrets."grafana-admin-password" = { |
146 | format = "binary"; | 147 | format = "binary"; |
147 | sopsFile = ./grafana-admin-password; | 148 | sopsFile = ./grafana-admin-password; |
149 | owner = "grafana"; | ||
148 | }; | 150 | }; |
149 | sops.secrets."grafana-secret-key" = { | 151 | sops.secrets."grafana-secret-key" = { |
150 | format = "binary"; | 152 | format = "binary"; |
151 | sopsFile = ./grafana-secret-key; | 153 | sopsFile = ./grafana-secret-key; |
154 | owner = "grafana"; | ||
152 | }; | 155 | }; |
153 | }; | 156 | }; |
154 | } | 157 | } |