From 931ca0f4099677c20a462b80ed39da2207ee5185 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 15 Oct 2023 15:33:41 +0200 Subject: sync config --- common.nix | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'common.nix') diff --git a/common.nix b/common.nix index 61d83fd..9ddf0da 100644 --- a/common.nix +++ b/common.nix @@ -281,24 +281,24 @@ in services.smartd.enable = true; # ensure cron and Co. can send mails -# programs.msmtp = { -# enable = true; -# setSendmail = true; -# accounts = { -# default = { -# auth = true; -# tls = true; -# from = "noreply@home.local"; -# host = "babylon2k.com"; -# port = "587"; -# user = builtins.readFile "/data/nixos/mailuser.secret"; -# password = builtins.readFile "/data/nixos/mailpassword.secret"; -# }; -# }; -# defaults = { -# aliases = "/etc/aliases"; -# }; -# }; + programs.msmtp = { + enable = true; + setSendmail = true; + accounts = { + default = { + auth = true; + tls = true; + from = "noreply@home.local"; + host = "babylon2k.com"; + port = "587"; + user = builtins.readFile "/data/nixos/mailuser.secret"; + password = builtins.readFile "/data/nixos/mailpassword.secret"; + }; + }; + defaults = { + aliases = "/etc/aliases"; + }; + }; environment.etc = { "aliases" = { -- cgit v1.2.3