From a268179fb6fdd3e78fa8a39ead1dd145117efee4 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 4 Apr 2024 00:00:17 +0200 Subject: fix mail sending --- common.nix | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/common.nix b/common.nix index 28bd8f4..ef215d2 100644 --- a/common.nix +++ b/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" = { -- cgit v1.2.3