about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-16 19:02:42 +0900
committersefidel <contact@sefidel.net>2023-02-16 19:02:42 +0900
commit9a079d6837db490d19b2a10c9d4f422bedce7732 (patch)
treed47c3e84c4eba9a0ad4fb58376b37c9ab6eac852
parent1d5d1e00060e56ed37e41c70bfc61af39937721c (diff)
downloadnixrc-9a079d6837db490d19b2a10c9d4f422bedce7732.tar.gz
nixrc-9a079d6837db490d19b2a10c9d4f422bedce7732.zip
feat(home/messaging): fix failing mbsync
-rw-r--r--home/profiles/messaging/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/profiles/messaging/default.nix b/home/profiles/messaging/default.nix
index e7209e0..1712b1d 100644
--- a/home/profiles/messaging/default.nix
+++ b/home/profiles/messaging/default.nix
@@ -76,7 +76,7 @@ in
           primary = true;
           realName = "***REMOVED***";
           userName = poorObfuscation "sefidel.com" "contact";
-          passwordCommand = "cat ${config.sops.secrets.sef-imap-password.path}";
+          passwordCommand = "${pkgs.coreutils}/bin/cat ${builtins.replaceStrings ["%r"] ["$XDG_RUNTIME_DIR"] config.sops.secrets.sef-imap-password.path}";
         };
       };