fix mail sending
This commit is contained in:
parent
01e6e37fe7
commit
a268179fb6
38
common.nix
38
common.nix
|
@ -286,7 +286,7 @@ in
|
|||
hunspellDicts.en_US
|
||||
inetutils
|
||||
pkgs.kdePackages.kate
|
||||
kcachegrind
|
||||
pkgs.kdePackages.kcachegrind
|
||||
pkgs.kdePackages.kcalc
|
||||
keychain
|
||||
pkgs.kdePackages.kmail
|
||||
|
@ -424,24 +424,24 @@ in
|
|||
programs.dconf.enable = true;
|
||||
|
||||
# ensure cron and Co. can send mails
|
||||
# programs.msmtp = {
|
||||
# enable = true;
|
||||
# setSendmail = true;
|
||||
# accounts = {
|
||||
# default = {
|
||||
# auth = true;
|
||||
# tls = true;
|
||||
# from = "christoph@cullmann.io";
|
||||
# host = "moon.babylon2k.com";
|
||||
# port = "587";
|
||||
# user = builtins.readFile "/data/nixos/mailuser.secret";
|
||||
# passwordeval = "cat /data/nixos/mailpassword.secret";
|
||||
# };
|
||||
# };
|
||||
# defaults = {
|
||||
# aliases = "/etc/aliases";
|
||||
# };
|
||||
# };
|
||||
programs.msmtp = {
|
||||
enable = true;
|
||||
setSendmail = true;
|
||||
accounts = {
|
||||
default = {
|
||||
auth = true;
|
||||
tls = true;
|
||||
from = "christoph@cullmann.io";
|
||||
host = "moon.babylon2k.com";
|
||||
port = "587";
|
||||
user = builtins.readFile "/data/nixos/mailuser.secret";
|
||||
passwordeval = "cat /data/nixos/mailpassword.secret";
|
||||
};
|
||||
};
|
||||
defaults = {
|
||||
aliases = "/etc/aliases";
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
"aliases" = {
|
||||
|
|
Loading…
Reference in a new issue