diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-31 17:06:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-31 17:06:11 +0100 |
commit | b259405df7f0bd9502628b8d261e2faaf33259c3 (patch) | |
tree | 760f402da347b27a93db62b53ac8cd66b60b602f /hosts | |
parent | 8deefff11f92dc28424580989193e09c61906151 (diff) | |
download | nixos-b259405df7f0bd9502628b8d261e2faaf33259c3.tar nixos-b259405df7f0bd9502628b8d261e2faaf33259c3.tar.gz nixos-b259405df7f0bd9502628b8d261e2faaf33259c3.tar.bz2 nixos-b259405df7f0bd9502628b8d261e2faaf33259c3.tar.xz nixos-b259405df7f0bd9502628b8d261e2faaf33259c3.zip |
vidhar: grafana: ...
Diffstat (limited to 'hosts')
-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 | } |