Grafana can send emails
This commit is contained in:
parent
ffd576cf99
commit
fc1e93f731
2 changed files with 12 additions and 1 deletions
|
@ -181,7 +181,11 @@
|
||||||
"hass-ssh-key".owner = "hass";
|
"hass-ssh-key".owner = "hass";
|
||||||
# "matrix-registration-shared-secret".owner = "matrix-synapse";
|
# "matrix-registration-shared-secret".owner = "matrix-synapse";
|
||||||
# "matrix-sliding-sync-secret".owner = "matrix-synapse";
|
# "matrix-sliding-sync-secret".owner = "matrix-synapse";
|
||||||
"autistici-password".owner = "forgejo";
|
"autistici-password" = {
|
||||||
|
# FIXME terrible, should create a third ad-hoc group
|
||||||
|
owner = "grafana";
|
||||||
|
group = "forgejo";
|
||||||
|
};
|
||||||
"garmin-collector-environment".owner = "garmin-collector";
|
"garmin-collector-environment".owner = "garmin-collector";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,6 +14,13 @@ in {
|
||||||
admin_user = "andrea";
|
admin_user = "andrea";
|
||||||
admin_password = "$__file{${config.age.secrets.grafana-password.path}}";
|
admin_password = "$__file{${config.age.secrets.grafana-password.path}}";
|
||||||
};
|
};
|
||||||
|
smtp = {
|
||||||
|
enabled = true;
|
||||||
|
host = "smtp.autistici.org:587";
|
||||||
|
user = "andrea.ciceri@autistici.org";
|
||||||
|
from_address = "andrea.ciceri@autistici.org";
|
||||||
|
password = "$__file{${config.age.secrets.autistici-password.path}}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.persistence."/persist".directories = [
|
environment.persistence."/persist".directories = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue