Change email password command
This commit is contained in:
parent
fcd046b8d1
commit
7dde9341d2
|
@ -3,6 +3,12 @@ let
|
||||||
maildir = "${config.xdg.dataHome}/mail";
|
maildir = "${config.xdg.dataHome}/mail";
|
||||||
pass = config.programs.password-store.package;
|
pass = config.programs.password-store.package;
|
||||||
in {
|
in {
|
||||||
|
programs = {
|
||||||
|
msmtp.enable = true;
|
||||||
|
mbsync.enable = true;
|
||||||
|
mu.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = maildir;
|
maildirBasePath = maildir;
|
||||||
accounts = {
|
accounts = {
|
||||||
|
@ -10,7 +16,7 @@ in {
|
||||||
address = email;
|
address = email;
|
||||||
userName = email;
|
userName = email;
|
||||||
flavor = "gmail.com";
|
flavor = "gmail.com";
|
||||||
passwordCommand = "${pass}/bin/pass Email/gmail.com";
|
passwordCommand = "${pass}/bin/pass Email/GmailApp/kiana.a.sheibani@gmail.com";
|
||||||
primary = true;
|
primary = true;
|
||||||
mbsync = {
|
mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -24,11 +30,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
|
||||||
msmtp.enable = true;
|
|
||||||
mbsync.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
mbsync = {
|
mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue