From 42ffa03bbd187b871feb930f4d35ba750261705e Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 12 Apr 2023 13:03:19 +0200 Subject: Fix(hm/conf/mail): Import secret-tool directly --- home-manager/config/mail/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'home-manager/config/mail') 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" ]; -- cgit 1.4.1