From db6d02e3a42d4264883a82d8f11a49848b77bd7f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 27 Aug 2019 15:13:55 -0700 Subject: undo remove homedir --- lib/email.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/email.nix') diff --git a/lib/email.nix b/lib/email.nix index 811d739..a1a416e 100644 --- a/lib/email.nix +++ b/lib/email.nix @@ -2,18 +2,19 @@ let gpgid = "D09299626FA78AF8"; + homedir = builtins.getEnv "HOME"; in { accounts = { email = { - maildirBasePath = "\$HOME/Mail"; + maildirBasePath = "${homedir}/Mail"; accounts = { "ben@bsima.me" = { primary = true; realName = "Ben Sima"; address = "ben@bsima.me"; userName = "ben@simatime.com"; - alot.sendMailCommand = "\$HOME/bin/sendmail"; + alot.sendMailCommand = "${homedir}/bin/sendmail"; folders = { inbox = "INBOX"; }; -- cgit v1.2.3