fix mail sending

This commit is contained in:
Christoph Cullmann 2024-04-04 00:00:17 +02:00
parent 01e6e37fe7
commit a268179fb6

View file

@ -286,7 +286,7 @@ in
hunspellDicts.en_US hunspellDicts.en_US
inetutils inetutils
pkgs.kdePackages.kate pkgs.kdePackages.kate
kcachegrind pkgs.kdePackages.kcachegrind
pkgs.kdePackages.kcalc pkgs.kdePackages.kcalc
keychain keychain
pkgs.kdePackages.kmail pkgs.kdePackages.kmail
@ -424,24 +424,24 @@ in
programs.dconf.enable = true; programs.dconf.enable = true;
# ensure cron and Co. can send mails # ensure cron and Co. can send mails
# programs.msmtp = { programs.msmtp = {
# enable = true; enable = true;
# setSendmail = true; setSendmail = true;
# accounts = { accounts = {
# default = { default = {
# auth = true; auth = true;
# tls = true; tls = true;
# from = "christoph@cullmann.io"; from = "christoph@cullmann.io";
# host = "moon.babylon2k.com"; host = "moon.babylon2k.com";
# port = "587"; port = "587";
# user = builtins.readFile "/data/nixos/mailuser.secret"; user = builtins.readFile "/data/nixos/mailuser.secret";
# passwordeval = "cat /data/nixos/mailpassword.secret"; passwordeval = "cat /data/nixos/mailpassword.secret";
# }; };
# }; };
# defaults = { defaults = {
# aliases = "/etc/aliases"; aliases = "/etc/aliases";
# }; };
# }; };
environment.etc = { environment.etc = {
"aliases" = { "aliases" = {