mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
fix: get email for notifications working
This commit is contained in:
parent
68cff3eed6
commit
fc6ad6c627
1 changed files with 10 additions and 3 deletions
|
|
@ -1,14 +1,21 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
environment.systemPackages = [ pkgs.mailutils ];
|
||||||
programs.msmtp = {
|
programs.msmtp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
accounts.default = {
|
defaults = {
|
||||||
auth = true;
|
auth = "on";
|
||||||
tls = true;
|
tls = "on";
|
||||||
|
logfile = "/var/log/msmtpd.log";
|
||||||
|
};
|
||||||
|
|
||||||
|
accounts.${username} = {
|
||||||
|
tls_starttls = "off";
|
||||||
port = 465;
|
port = 465;
|
||||||
host = "smtp.migadu.com";
|
host = "smtp.migadu.com";
|
||||||
from = config.liv.variables.senderEmail;
|
from = config.liv.variables.senderEmail;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue