email: work i think idk
This commit is contained in:
parent
f3c0a2b229
commit
b68aa4e7d7
4 changed files with 48 additions and 10 deletions
3
home.nix
3
home.nix
|
@ -41,6 +41,7 @@
|
|||
./home/programs/chromium.nix
|
||||
./home/programs/direnv.nix
|
||||
./home/programs/emacs
|
||||
./home/programs/email.nix
|
||||
./home/programs/espanso
|
||||
./home/programs/firefox.nix
|
||||
./home/programs/fish
|
||||
|
@ -79,7 +80,7 @@
|
|||
# ./home/services/taskwarrior-sync.nix
|
||||
|
||||
# Email config
|
||||
# ./home/email.nix
|
||||
./home/email.nix
|
||||
|
||||
# Packages
|
||||
./home/packages.nix
|
||||
|
|
|
@ -1,21 +1,52 @@
|
|||
{
|
||||
accounts.email.maildirBasePath = ".mail";
|
||||
accounts.email.accounts = {
|
||||
thehedgehog = {
|
||||
realName = "The Hedgehog";
|
||||
address = "hedgehog@mrhedgehog.xyz";
|
||||
passwordCommand = "bw get password 'Migadu Anon Mailbox'";
|
||||
userName = "hedgehog@mrhedgehog.xyz";
|
||||
pyrox = {
|
||||
realName = "Pyrox";
|
||||
userName = "pyrox@pyrox.dev";
|
||||
address = "pyrox@pyrox.dev";
|
||||
primary = true;
|
||||
himalaya.enable = true;
|
||||
passwordCommand = "rbw get 'Migadu Anon Mailbox'";
|
||||
himalaya = {
|
||||
enable = false;
|
||||
backend = "imap";
|
||||
sender = "smtp";
|
||||
settings = {
|
||||
imap-passwd-cmd = "rbw get 'Migadu Anon Mailbox'";
|
||||
smtp-passwd-cmd = "rbw get 'Migadu Anon Mailbox'";
|
||||
};
|
||||
};
|
||||
mbsync = {
|
||||
enable = true;
|
||||
create = "both";
|
||||
};
|
||||
msmtp.enable = true;
|
||||
mu.enable = true;
|
||||
offlineimap.enable = true;
|
||||
imap = {
|
||||
host = "imap.migadu.com";
|
||||
tls.enable = true;
|
||||
host = "mail.pyrox.dev";
|
||||
port = 993;
|
||||
tls.enable = true;
|
||||
tls.useStartTls = false;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.migadu.com";
|
||||
host = "mail.pyrox.dev";
|
||||
port = 465;
|
||||
tls.enable = true;
|
||||
tls.useStartTls = false;
|
||||
};
|
||||
thunderbird.enable = false;
|
||||
signature = {
|
||||
delimiter = ''
|
||||
--
|
||||
'';
|
||||
showSignature = "append";
|
||||
text = ''
|
||||
Pyrox,
|
||||
She/They Agender
|
||||
Sysadmin, self-hoster, techie
|
||||
"Why do they call it oven if you of in the cold food of out hot eat the food?"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
5
home/programs/email.nix
Normal file
5
home/programs/email.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
programs.msmtp.enable = true;
|
||||
programs.mbsync.enable = true;
|
||||
programs.mu.enable = true;
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
"pyrox@pyrox.dev" = {
|
||||
hashedPassword = "$2b$05$8k04quBe6adg8d1yznEp3uNYM54MOVJTwDGIWvzocQFoWbmcCvebC";
|
||||
aliases = [
|
||||
"pyrox"
|
||||
"postmaster@pyrox.dev"
|
||||
"abuse@pyrox.dev"
|
||||
"aaron@pyrox.dev"
|
||||
|
|
Loading…
Reference in a new issue