Change email password command

This commit is contained in:
Kiana Sheibani 2024-02-13 21:37:27 -05:00
parent fcd046b8d1
commit 7dde9341d2

View file

@ -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;