about summary refs log tree commit diff stats
path: root/home-manager/config/mail
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-12 13:03:19 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:30 +0200
commit42ffa03bbd187b871feb930f4d35ba750261705e (patch)
tree50071c1a4eb519cdc8827bdc550ef73333ccb817 /home-manager/config/mail
parentFix(hm/conf/zsh): Remove GNUPGHOME as nixos sets this (diff)
downloadnixos-config-42ffa03bbd187b871feb930f4d35ba750261705e.tar.gz
nixos-config-42ffa03bbd187b871feb930f4d35ba750261705e.zip
Fix(hm/conf/mail): Import secret-tool directly
Diffstat (limited to 'home-manager/config/mail')
-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"
         ];