Use nix shell to run oauth2 and MIMEmbellish
This commit is contained in:
parent
1032a7fb6a
commit
db367b140b
|
@ -58,7 +58,7 @@ IMAPAccount ugent
|
|||
Host outlook.office365.com
|
||||
User amin.kasrouaouam@ugent.be
|
||||
AuthMechs XOAUTH2
|
||||
PassCmd "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile"
|
||||
PassCmd "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'"
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ host smtp.office365.com
|
|||
port 587
|
||||
from amin.kasrouaouam@ugent.be
|
||||
user amin.kasrouaouam@ugent.be
|
||||
passwordeval "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile"
|
||||
passwordeval "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'"
|
||||
|
||||
account disroot
|
||||
host disroot.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
nix-shell -p python39 --command "python ~/.local/bin/MIMEmbellish | msmtp -a $1 -t"
|
||||
nix-shell -p python3 --command "python ~/.local/bin/MIMEmbellish | msmtp -a $1 -t"
|
||||
|
|
Loading…
Reference in New Issue