about summary refs log tree commit diff stats
path: root/home-manager/config/mail
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/mail/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/home-manager/config/mail/default.nix b/home-manager/config/mail/default.nix
index e44d2c33..8259c9d4 100644
--- a/home-manager/config/mail/default.nix
+++ b/home-manager/config/mail/default.nix
@@ -1,4 +1,8 @@
-{config, ...}: {
+{
+  config,
+  pkgs,
+  ...
+}: {
   accounts.email = {
     maildirBasePath = "${config.xdg.dataHome}/maildir";
     accounts = {
@@ -7,7 +11,7 @@
         userName = "soispha";
         realName = "Soispha";
         primary = true;
-        passwordCommand = "secret-tool lookup account soispha@vhack.eu";
+        passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup account soispha@vhack.eu";
         aliases = [
           "admin@vhack.eu"
         ];