summaryrefslogtreecommitdiff
path: root/nix/modules/home/msmtp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/home/msmtp.nix')
-rw-r--r--nix/modules/home/msmtp.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/nix/modules/home/msmtp.nix b/nix/modules/home/msmtp.nix
deleted file mode 100644
index c1abd8f..0000000
--- a/nix/modules/home/msmtp.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ lib, config, super, ... }:
-{
- programs.msmtp = {
- enable = lib.mkDefault config.monorepo.profiles.email.enable;
- extraConfig = ''
- # Set default values for all following accounts.
- defaults
- auth on
- tls on
- tls_trust_file /etc/ssl/certs/ca-certificates.crt
- tls_certcheck off
- logfile ~/.msmtp.log
-
- # Gmail
- account ${super.monorepo.vars.internetName}
- host mail.${super.monorepo.vars.orgHost}
- port 587
- from ${super.monorepo.vars.email}
- user ${super.monorepo.vars.email}
- passwordeval "cat ${config.sops.secrets.mail.path}"
-
-
- # Set a default account
- account default : ${super.monorepo.vars.internetName}
- '';
- };
-}