mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Set perms for grafana password
This commit is contained in:
parent
8e494dcebb
commit
f527531a15
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,11 @@ in serverSystemConfiguration {
|
|||
group = "grafana";
|
||||
};
|
||||
|
||||
age.secrets."cube/password.mail.grafana" = {
|
||||
owner = "grafana";
|
||||
group = "grafana";
|
||||
};
|
||||
|
||||
services.grafana = enabled {
|
||||
domain = fqdn;
|
||||
port = 8999;
|
||||
|
@ -30,6 +35,7 @@ in serverSystemConfiguration {
|
|||
settings.security = {
|
||||
admin_email = "metrics@${domain}";
|
||||
admin_password = "$__file{${config.age.secrets."cube/password.grafana".path}}";
|
||||
admin_user = "admin";
|
||||
|
||||
disable_initial_admin_creation = true; # Just in case.
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue