diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-02-14 23:04:05 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-02-14 23:04:05 +0300 |
commit | 7ed022bc9a3c89834016c866e387b60ba4523eb6 (patch) | |
tree | a0984c8df3016e84910818a60d7f3aeb42b7a718 /modules/nixos/grafana.nix | |
parent | 2023-02-03 (diff) |
2023-02-14
Diffstat (limited to '')
-rw-r--r-- | modules/nixos/grafana.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/nixos/grafana.nix b/modules/nixos/grafana.nix index a614502..0b2e210 100644 --- a/modules/nixos/grafana.nix +++ b/modules/nixos/grafana.nix @@ -39,7 +39,7 @@ in { group = "grafana"; }; grafana-smtp-password = { - file = "${inputs.self}/secrets/grafana-smtp-password"; + file = "${inputs.self}/secrets/smtp-password"; owner = "grafana"; group = "grafana"; }; @@ -98,8 +98,8 @@ in { auto_assign_org_role = "Viewer"; }; security = with config.secrets; { - secret_key = grafana-key.path; - admin_password = grafana-admin-password.path; + secret_key = "$__file{${grafana-key.path}}"; + admin_password = "$__file{${grafana-admin-password.path}}"; }; analytics.reporting_enable = false; }; |