grafana: will it work with config.sops
This commit is contained in:
parent
003cd2d19e
commit
efe8684da0
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/passwords.yaml;
|
||||
secrets."vms/grafana/admin_password" = {
|
||||
secrets."vms"."grafana"."admin_password" = {
|
||||
mode = "0440";
|
||||
owner = "grafana";
|
||||
group = "grafana";
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
security.admin_password = "$__file{${sops.secrets.vms.grafana.admin_password.path}}";
|
||||
security.admin_password = "$__file{${config.sops.secrets.vms.grafana.admin_password.path}}";
|
||||
settings.server = {
|
||||
domain = "grafana.noc.eh22.intern";
|
||||
root_url = "http://grafana.noc.eh22.intern/";
|
||||
|
|
Loading…
Add table
Reference in a new issue