aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/modules/email/default.nix
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2024-12-24 17:06:53 -0500
committertdback <tyler@tdback.net>2024-12-24 17:06:53 -0500
commit72c487e0e39e5ce18925e5b0f1395e313be37d65 (patch)
treedc993e69514aed0c2dccb1c6e50ad4868e83766f /users/tdback/modules/email/default.nix
parentfe5d821116bf67eb6937a61c2a68d9822dfc7ec9 (diff)
use lib.getExe to get full path of executable in nix store
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";