From 7dde9341d204e8479484a33a0a9f6d59f8fe14f8 Mon Sep 17 00:00:00 2001 From: kiana-S Date: Tue, 13 Feb 2024 21:37:27 -0500 Subject: [PATCH] Change email password command --- home-manager/email.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/home-manager/email.nix b/home-manager/email.nix index 3a65824..25b2afb 100644 --- a/home-manager/email.nix +++ b/home-manager/email.nix @@ -3,6 +3,12 @@ let maildir = "${config.xdg.dataHome}/mail"; pass = config.programs.password-store.package; in { + programs = { + msmtp.enable = true; + mbsync.enable = true; + mu.enable = true; + }; + accounts.email = { maildirBasePath = maildir; accounts = { @@ -10,7 +16,7 @@ in { address = email; userName = email; flavor = "gmail.com"; - passwordCommand = "${pass}/bin/pass Email/gmail.com"; + passwordCommand = "${pass}/bin/pass Email/GmailApp/kiana.a.sheibani@gmail.com"; primary = true; mbsync = { enable = true; @@ -24,11 +30,6 @@ in { }; }; - programs = { - msmtp.enable = true; - mbsync.enable = true; - }; - services = { mbsync = { enable = true;