Remove email handling via nix
I'm fine with thunderbird right now.
This commit is contained in:
parent
dc73a5f8eb
commit
e786966d7a
4
home.nix
4
home.nix
|
@ -53,10 +53,6 @@ in {
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
accounts.email = import ./home/accounts/email.nix {
|
|
||||||
inherit config pkgs;
|
|
||||||
};
|
|
||||||
|
|
||||||
xsession = import ./home/xsession.nix {
|
xsession = import ./home/xsession.nix {
|
||||||
inherit config pkgs ownLib;
|
inherit config pkgs ownLib;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -63,13 +63,4 @@ in {
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
cmus.enable = true;
|
cmus.enable = true;
|
||||||
|
|
||||||
offlineimap.enable = true;
|
|
||||||
neomutt = {
|
|
||||||
enable = true;
|
|
||||||
vimKeys = true;
|
|
||||||
sidebar = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue