summaryrefslogtreecommitdiff
path: root/nix/modules/home/msmtp.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-02-28 20:20:41 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-02-28 20:20:41 -0800
commit99a6f13e70b366a858a543f145528152164858e5 (patch)
treeac65987c6a0cd142943ab0c5b45616a1c1356486 /nix/modules/home/msmtp.nix
parentbefb04f3a1cbf7e55da26e08f8c974e72ff6f1cf (diff)
use librewolf instead; fix a bunch of problems
Diffstat (limited to 'nix/modules/home/msmtp.nix')
-rw-r--r--nix/modules/home/msmtp.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nix/modules/home/msmtp.nix b/nix/modules/home/msmtp.nix
index 6d69922..c1abd8f 100644
--- a/nix/modules/home/msmtp.nix
+++ b/nix/modules/home/msmtp.nix
@@ -1,4 +1,4 @@
-{ lib, config, ... }:
+{ lib, config, super, ... }:
{
programs.msmtp = {
enable = lib.mkDefault config.monorepo.profiles.email.enable;
@@ -12,16 +12,16 @@
logfile ~/.msmtp.log
# Gmail
- account ${config.monorepo.vars.userName}
- host ${config.monorepo.profiles.email.smtpsServer}
+ account ${super.monorepo.vars.internetName}
+ host mail.${super.monorepo.vars.orgHost}
port 587
- from ${config.monorepo.profiles.email.email}
- user ${config.monorepo.profiles.email.email}
+ from ${super.monorepo.vars.email}
+ user ${super.monorepo.vars.email}
passwordeval "cat ${config.sops.secrets.mail.path}"
# Set a default account
- account default : ${config.monorepo.vars.userName}
+ account default : ${super.monorepo.vars.internetName}
'';
};
}