bebop: Add mail module

This commit is contained in:
Payas Relekar 2023-06-07 21:32:14 +05:30
parent 84a8d2e3df
commit 4c9806f533
2 changed files with 16 additions and 0 deletions

View file

@ -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
View 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";
};
};
}