From 72c487e0e39e5ce18925e5b0f1395e313be37d65 Mon Sep 17 00:00:00 2001 From: tdback Date: Tue, 24 Dec 2024 17:06:53 -0500 Subject: use lib.getExe to get full path of executable in nix store --- users/tdback/modules/email/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/tdback/modules/email/default.nix') 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"; -- cgit v1.2.3