diff options
author | ene <ene@sils.li> | 2023-04-08 15:44:42 +0200 |
---|---|---|
committer | ene <ene@sils.li> | 2023-04-08 15:44:42 +0200 |
commit | ffa07aa67b3bb1cdc05450e8da9f2affd6917a73 (patch) | |
tree | 352112fff28139194da6ce65ff2e5db71b78593b /home-manager/config/mail/default.nix | |
parent | Chore(Flake): Update (diff) | |
download | nixos-config-ffa07aa67b3bb1cdc05450e8da9f2affd6917a73.tar.gz nixos-config-ffa07aa67b3bb1cdc05450e8da9f2affd6917a73.zip |
Feat(hm/conf/mail): Add first mail account
Diffstat (limited to '')
-rw-r--r-- | home-manager/config/mail/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/home-manager/config/mail/default.nix b/home-manager/config/mail/default.nix new file mode 100644 index 00000000..51c01dbc --- /dev/null +++ b/home-manager/config/mail/default.nix @@ -0,0 +1,53 @@ +{ + config, + pkgs, + ... +}: { + accounts.email.accounts = { + soispha = { + address = "soispha@vhack.eu"; + name = "sosipha"; + userName = "soispha"; + realName = "Soispha"; + primary = true; + passwordCommand = "secret-tool lookup account soispha@vhack.eu"; + aliases = [ + "admin@vhack.eu" + ]; + folders = { + }; + gpg = { + encryptByDefault = true; + key = ""; # TODO add + signByDefault = true; + }; + signature = { + # TODO + }; + himalaya = { + enable = true; + backend = "imap"; + sender = "smtp"; + settings = { + # TODO + }; + }; + smtp = { + host = "smtp.vhack.eu"; + port = 465; + }; + imap = { + host = "imap.vhack.eu"; + port = 993; + }; + jmap = { + # TODO + }; + maildir = { + path = "soispha"; + }; + }; + }; +} +# vim: ts=2 + |