mirror of
https://github.com/kmein/niveum
synced 2026-03-21 12:21:08 +01:00
fix(grafana): remove smtp config
This commit is contained in:
@@ -16,17 +16,6 @@ in {
|
|||||||
http_port = 9444;
|
http_port = 9444;
|
||||||
http_addr = "127.0.0.1";
|
http_addr = "127.0.0.1";
|
||||||
};
|
};
|
||||||
smtp = let
|
|
||||||
inherit (import ../../../lib/email.nix {inherit lib;}) cock;
|
|
||||||
address = builtins.split "@" cock.user;
|
|
||||||
in {
|
|
||||||
enabled = true;
|
|
||||||
from_address = cock.address;
|
|
||||||
password = "$__file{${config.age.secrets.email-password-cock.path}}";
|
|
||||||
user = cock.user;
|
|
||||||
host = cock.smtpSettings cock.smtp;
|
|
||||||
startTLS_policy = "MandatoryStartTLS";
|
|
||||||
};
|
|
||||||
dashboards.default_home_dashboard_path = toString ./grafana-dashboards/niveum.json;
|
dashboards.default_home_dashboard_path = toString ./grafana-dashboards/niveum.json;
|
||||||
security = {
|
security = {
|
||||||
admin_user = "admin";
|
admin_user = "admin";
|
||||||
|
|||||||
Reference in New Issue
Block a user