bebop: Add mail module
This commit is contained in:
parent
84a8d2e3df
commit
4c9806f533
2 changed files with 16 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
modules = common-modules ++ [
|
||||
|
||||
# Modules and module config
|
||||
./modules/mail.nix
|
||||
./modules/monitoring/monitoring.nix
|
||||
./modules/calibre.nix
|
||||
./modules/wiki.nix
|
||||
|
|
15
modules/mail.nix
Normal file
15
modules/mail.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.msmtp = {
|
||||
enable = true;
|
||||
setSendmail = true;
|
||||
accounts.default = {
|
||||
auth = true;
|
||||
host = "smtp.gmail.com";
|
||||
port = 587;
|
||||
tls = true;
|
||||
user = "relekarpayas@gmail.com";
|
||||
passwordeval = "cat /run/agenix/outline_gmail";
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue