Fix email sending
This commit is contained in:
parent
36eed4c3d2
commit
81cf231f68
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue