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;
|
extraSpecialArgs = globalArgs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.homeConfigurations =
|
flake.homeConfigurations = {
|
||||||
let
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
|
||||||
natto-laptop = inputs.home-manager.lib.homeManagerConfiguration {
|
natto-laptop = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit extraSpecialArgs;
|
inherit extraSpecialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
./natto
|
./natto
|
||||||
|
./common/fonts
|
||||||
{ isLaptop = true; }
|
{ isLaptop = true; }
|
||||||
]
|
]
|
||||||
++ common;
|
++ common;
|
||||||
@@ -45,13 +42,14 @@ in
|
|||||||
|
|
||||||
natto = inputs.home-manager.lib.homeManagerConfiguration {
|
natto = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit extraSpecialArgs;
|
inherit extraSpecialArgs;
|
||||||
modules = [ ./natto ];
|
modules = [
|
||||||
|
./natto
|
||||||
|
./common/fonts
|
||||||
|
]
|
||||||
|
++ common;
|
||||||
pkgs = mkPkgs "x86_64-linux";
|
pkgs = mkPkgs "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// {
|
|
||||||
spark = inputs.home-manager.lib.homeManagerConfiguration {
|
spark = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit extraSpecialArgs;
|
inherit extraSpecialArgs;
|
||||||
modules = [
|
modules = [
|
||||||
|
@@ -2,23 +2,28 @@
|
|||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
conf,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
key = "53EC089EF230E47A83BA8F8195949BD4B853F559";
|
|
||||||
host = "mail.weirdnatto.in";
|
|
||||||
realName = "Amneesh Singh";
|
realName = "Amneesh Singh";
|
||||||
address = "natto@weirdnatto.in";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
accounts = {
|
accounts = {
|
||||||
natto = rec {
|
natto =
|
||||||
inherit address realName;
|
let
|
||||||
|
domain = conf.network.addresses.domain.natto;
|
||||||
|
address = "natto@${domain}";
|
||||||
|
host = "mail.${domain}";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit realName address;
|
||||||
primary = true;
|
primary = true;
|
||||||
userName = address;
|
userName = address;
|
||||||
gpg = {
|
gpg = {
|
||||||
inherit key;
|
key = "3C4BDBE7BBF45B52C14EA193007257B05FCC86A8";
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
};
|
};
|
||||||
imap = {
|
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 = {
|
services = {
|
||||||
|
Reference in New Issue
Block a user