diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-04-04 00:00:17 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-04-04 00:00:17 +0200 |
commit | a268179fb6fdd3e78fa8a39ead1dd145117efee4 (patch) | |
tree | a80601d93107eec80acb1771081cbd008bbc368f /common.nix | |
parent | 01e6e37fe7a041d437bd5fd7528a9e2561ef30cc (diff) |
fix mail sending
Diffstat (limited to 'common.nix')
-rw-r--r-- | common.nix | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -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" = { |