From 3f2b9cf67777cabba3f29a05c10b281c534a529d Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Wed, 23 Apr 2025 14:13:08 -0400 Subject: Reference `pass` with fully qualified path --- lib/calendars.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/calendars.nix b/lib/calendars.nix index 112dad6..250ea7c 100644 --- a/lib/calendars.nix +++ b/lib/calendars.nix @@ -1,4 +1,4 @@ -{lib, config, ...}: +{lib, config, pkgs, ...}: let # names mapped to unique identifiers of calendars calendars = { @@ -29,7 +29,7 @@ let }; radicale = { - passwordCommand = ["pass" "cal.bensima.com"]; + passwordCommand = ["${pkgs.pass}/bin/pass" "cal.bensima.com"]; type = "caldav"; url = "https://cal.bensima.com"; userName = "ben"; @@ -71,7 +71,7 @@ in { "icloud" = { remote = { - passwordCommand = ["pass" "icloud.com/vdirsyncer"]; + passwordCommand = ["${pkgs.pass}/bin/pass" "icloud.com/vdirsyncer"]; type = "caldav"; url = "https://caldav.icloud.com"; userName = "bsima@icloud.com"; -- cgit v1.2.3