mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +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,
|
||||
config,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.mailutils ];
|
||||
programs.msmtp = {
|
||||
enable = true;
|
||||
accounts.default = {
|
||||
auth = true;
|
||||
tls = true;
|
||||
defaults = {
|
||||
auth = "on";
|
||||
tls = "on";
|
||||
logfile = "/var/log/msmtpd.log";
|
||||
};
|
||||
|
||||
accounts.${username} = {
|
||||
tls_starttls = "off";
|
||||
port = 465;
|
||||
host = "smtp.migadu.com";
|
||||
from = config.liv.variables.senderEmail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue