Fix email sending

This commit is contained in:
fruchti 2025-04-17 11:37:33 +02:00
parent 36eed4c3d2
commit 81cf231f68

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
let let
cfg = config.email; cfg = config.email;
@ -37,7 +37,7 @@ in
default = { default = {
auth = true; auth = true;
host = "gvfr.de"; host = "gvfr.de";
passwordeval = "cat /secrets/email_password.txt"; passwordeval = "${pkgs.coreutils}/bin/cat /secrets/email_password.txt";
user = cfg.fromAddress; user = cfg.fromAddress;
from = cfg.fromAddress; from = cfg.fromAddress;
port = 465; port = 465;