aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/modules/email/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/tdback/modules/email/default.nix')
-rw-r--r--users/tdback/modules/email/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/tdback/modules/email/default.nix b/users/tdback/modules/email/default.nix
index 3321462..e5dd56d 100644
--- a/users/tdback/modules/email/default.nix
+++ b/users/tdback/modules/email/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ lib, pkgs, ... }:
{
accounts.email = {
maildirBasePath = "mail";
@@ -8,7 +8,7 @@
address = "tyler@tdback.net";
userName = "tyler@tdback.net";
realName = "Tyler Dunneback";
- passwordCommand = "${pkgs.age}/bin/age -d -i ~/.ssh/mail ~/.mail.age";
+ passwordCommand = "${lib.getExe pkgs.age} -d -i ~/.ssh/mail ~/.mail.age";
folders = {
inbox = "Inbox";