mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 02:52:55 +00:00
add encrypted mail password
This commit is contained in:
parent
73c837b710
commit
2c07d8e24a
@ -11,6 +11,8 @@
|
||||
|
||||
home-manager.users.${config.user} = {
|
||||
|
||||
home.packages = with pkgs; [ age ];
|
||||
|
||||
programs.himalaya = { enable = true; };
|
||||
|
||||
accounts.email = {
|
||||
@ -59,7 +61,9 @@
|
||||
mu.enable = false;
|
||||
notmuch.enable = false;
|
||||
passwordCommand =
|
||||
"cat /home/${config.user}/.config/himalaya/passwd";
|
||||
"${pkgs.age}/bin/age --decrypt --identity /home/${config.user}/.ssh/id_rsa ${
|
||||
builtins.toString ./mailpass.age
|
||||
}";
|
||||
smtp = {
|
||||
host = serverHostname;
|
||||
port = 587;
|
||||
|
10
modules/mail/mailpass.age
Normal file
10
modules/mail/mailpass.age
Normal file
@ -0,0 +1,10 @@
|
||||
age-encryption.org/v1
|
||||
-> ssh-rsa 6vVbxg
|
||||
X7xJSc42VFglgjPxz45J3uoGtyZZdI6qyIEL+ZKxzhgYTa66/LVhJT/sLJlg7lnp
|
||||
DoZCGEvVIrTzlysHeWvNKUIkK/iiRLdsqJybPWs/hai9J2q3OcXehbvU+adHhhxn
|
||||
7y3Ycle+XeQ2QnFtMZBL0niQNAo3CMNKO6SNQeFwzwGgHmPmAF2JVnwxB5l09Y+e
|
||||
12T6aQCuh1pZ7oRjFQHg3T1aqXcslyBLLNuT4CXkIQ4hXSPAJGHUcy+rj8+3NsXW
|
||||
BwI7w3CtBLGDaZue6FBucD3ii4lIcBtUzx9BsgHfsrHPvgx8jAt6cLyWmMFwQO0Y
|
||||
43zNsHUHok2GEzKE1zLcAA
|
||||
--- HyCGtqqnrN0ukBo11RTE7l3HUvT2o+qxvlghoY0cY80
|
||||
:¼ElnÁ<Í2029I70J/Za™\¢{ÛÓ{œX3÷´Î!³¾B™qè™Dƒ:gÇÌG~Wº®I³vWjm
|
Loading…
Reference in New Issue
Block a user