separate age ssh key setup from nextcloud

This commit is contained in:
Noah Masur
2022-10-03 04:05:07 +00:00
parent 2434376963
commit 92223a49cd
3 changed files with 35 additions and 18 deletions

View File

@ -72,10 +72,11 @@
};
mu.enable = false;
notmuch.enable = false;
passwordCommand =
"${pkgs.age}/bin/age --decrypt --identity ${config.homePath}/.ssh/id_ed25519 ${
builtins.toString ./mailpass.age
}";
passwordCommand = ''
${pkgs.age}/bin/age --decrypt \
--identity ${config.identityFile} \
${builtins.toString ./mailpass.age}
'';
smtp = {
host = "smtp.purelymail.com";
port = 465;