home: natto: add me@amneesh.com to neomutt
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -28,15 +28,12 @@ let
|
||||
extraSpecialArgs = globalArgs;
|
||||
in
|
||||
{
|
||||
flake.homeConfigurations =
|
||||
let
|
||||
|
||||
in
|
||||
{
|
||||
flake.homeConfigurations = {
|
||||
natto-laptop = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit extraSpecialArgs;
|
||||
modules = [
|
||||
./natto
|
||||
./common/fonts
|
||||
{ isLaptop = true; }
|
||||
]
|
||||
++ common;
|
||||
@@ -45,13 +42,14 @@ in
|
||||
|
||||
natto = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit extraSpecialArgs;
|
||||
modules = [ ./natto ];
|
||||
modules = [
|
||||
./natto
|
||||
./common/fonts
|
||||
]
|
||||
++ common;
|
||||
pkgs = mkPkgs "x86_64-linux";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
// {
|
||||
spark = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
inherit extraSpecialArgs;
|
||||
modules = [
|
||||
|
@@ -2,23 +2,28 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
conf,
|
||||
...
|
||||
}:
|
||||
let
|
||||
key = "53EC089EF230E47A83BA8F8195949BD4B853F559";
|
||||
host = "mail.weirdnatto.in";
|
||||
realName = "Amneesh Singh";
|
||||
address = "natto@weirdnatto.in";
|
||||
in
|
||||
{
|
||||
accounts.email = {
|
||||
accounts = {
|
||||
natto = rec {
|
||||
inherit address realName;
|
||||
natto =
|
||||
let
|
||||
domain = conf.network.addresses.domain.natto;
|
||||
address = "natto@${domain}";
|
||||
host = "mail.${domain}";
|
||||
in
|
||||
{
|
||||
inherit realName address;
|
||||
primary = true;
|
||||
userName = address;
|
||||
gpg = {
|
||||
inherit key;
|
||||
key = "3C4BDBE7BBF45B52C14EA193007257B05FCC86A8";
|
||||
signByDefault = true;
|
||||
};
|
||||
imap = {
|
||||
@@ -45,6 +50,45 @@ in
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
amneesh =
|
||||
let
|
||||
domain = conf.network.addresses.domain.amneesh;
|
||||
address = "me@${domain}";
|
||||
host = "mail.${domain}";
|
||||
in
|
||||
{
|
||||
inherit address realName;
|
||||
userName = address;
|
||||
|
||||
gpg = {
|
||||
key = "0C2FDA374F2D48D9F9F0F7788EAAB36980C424C2";
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
imap = {
|
||||
inherit host;
|
||||
tls.enable = true;
|
||||
};
|
||||
imapnotify.enable = true;
|
||||
smtp = {
|
||||
inherit host;
|
||||
tls.enable = true;
|
||||
};
|
||||
mbsync = {
|
||||
enable = true;
|
||||
create = "both";
|
||||
};
|
||||
passwordCommand = "pass show email/${address}";
|
||||
neomutt = {
|
||||
enable = true;
|
||||
extraMailboxes = [
|
||||
"Sent"
|
||||
"Drafts"
|
||||
"Junk"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
services = {
|
||||
|
Reference in New Issue
Block a user