Remove email handling via nix

I'm fine with thunderbird right now.
This commit is contained in:
Daniel Siepmann 2023-05-25 17:24:55 +02:00
parent dc73a5f8eb
commit e786966d7a
Signed by: Daniel Siepmann
GPG Key ID: 33D6629915560EF4
3 changed files with 0 additions and 82 deletions

View File

@ -53,10 +53,6 @@ in {
fonts.fontconfig.enable = true;
accounts.email = import ./home/accounts/email.nix {
inherit config pkgs;
};
xsession = import ./home/xsession.nix {
inherit config pkgs ownLib;
};

View File

@ -1,69 +0,0 @@
{ config, pkgs }:
{
maildirBasePath = "${config.xdg.dataHome}/maildir";
accounts = {
Private = rec {
primary = true;
address = "daniel@daniel-siepmann.de";
aliases = [
"coding@daniel-siepmann.de"
];
realName = "Daniel Siepmann";
gpg = {
key = "15560EF4";
signByDefault = true;
encryptByDefault = true;
};
folders = {
inbox = "INBOX";
};
maildir = {
path = "private";
};
flavor = "plain";
userName = address;
# TODO: Somehow define once in a central place and only add the account name
passwordCommand = "${pkgs.libsecret}/bin/secret-tool lookup account daniel@daniel-siepmann.de";
imap = {
host = "imap.mailbox.org";
port = 993;
tls = {
enable = true;
};
};
smtp = {
host = "smtp.mailbox.org";
port = 587;
tls = {
enable = true;
useStartTls = true;
};
};
# TODO: Create a sytemd service + timer
offlineimap.enable = true;
neomutt = {
enable = true;
extraMailboxes = [
"Archives.2018"
"Archives.2019"
"Archives.2020"
"Archives.2021"
"Archives.2022"
"Archives.Rechnungen"
"GerritOrGitHub.NIX"
"GerritOrGitHub.phpactor"
"GerritOrGitHub.TYPO3-Forge"
"GerritOrGitHub.TYPO3-Gerrit"
"GerritOrGitHub.TYPO3-Tea"
"Junk"
];
};
};
};
}

View File

@ -63,13 +63,4 @@ in {
# Media
cmus.enable = true;
offlineimap.enable = true;
neomutt = {
enable = true;
vimKeys = true;
sidebar = {
enable = true;
};
};
}