feat: setup the password for grafana
This commit is contained in:
parent
40e4fe5ac4
commit
23f77caef6
2 changed files with 17 additions and 0 deletions
|
@ -54,12 +54,16 @@ in {
|
|||
"${name}.skynet.ie"
|
||||
];
|
||||
|
||||
age.secrets.grafana_pw.file = ../secrets/grafana/pw.age;
|
||||
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
domain = "${name}.skynet.ie";
|
||||
port = port;
|
||||
addr = cfg.host.ip;
|
||||
|
||||
settings.security.admin_password = "$__file{${config.age.secrets.grafana_pw.path}}";
|
||||
|
||||
provision = {
|
||||
enable = true;
|
||||
datasources.settings.datasources = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue