Tweaking packages, getting work mail going
This commit is contained in:
@@ -30,11 +30,16 @@ in
|
|||||||
weechat
|
weechat
|
||||||
sttr # string operations. e.g. sttr md5 "Hello World"; sttr snake "ChangeCase"
|
sttr # string operations. e.g. sttr md5 "Hello World"; sttr snake "ChangeCase"
|
||||||
imagemagick
|
imagemagick
|
||||||
|
# visidata
|
||||||
magic-wormhole
|
magic-wormhole
|
||||||
termscp # SCP/SFTP/FTP/S3
|
termscp # SCP/SFTP/FTP/S3
|
||||||
nodejs
|
nodejs
|
||||||
|
pipx
|
||||||
yarn
|
yarn
|
||||||
php83
|
php83
|
||||||
|
stack
|
||||||
|
ruby
|
||||||
|
# haskellPackages.ghcup
|
||||||
php83Packages.composer
|
php83Packages.composer
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
nodePackages.stylelint
|
nodePackages.stylelint
|
||||||
@@ -113,7 +118,7 @@ in
|
|||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ "git" "httpie" "aws" "fd" "fzf" "mosh" "npm" "ripgrep" "rsync" "sudo" "yarn" "vi-mode" ];
|
plugins = [ "git" "httpie" "aws" "fzf" "mosh" "npm" "rsync" "sudo" "yarn" "vi-mode" ];
|
||||||
};
|
};
|
||||||
syntaxHighlighting.catppuccin.enable = true;
|
syntaxHighlighting.catppuccin.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,12 +7,11 @@ in
|
|||||||
home.packages = with pkgs; [ vdirsyncer khard khal imapnotify ];
|
home.packages = with pkgs; [ vdirsyncer khard khal imapnotify ];
|
||||||
|
|
||||||
programs.mbsync.enable = true;
|
programs.mbsync.enable = true;
|
||||||
|
|
||||||
programs.msmtp.enable = true;
|
programs.msmtp.enable = true;
|
||||||
|
|
||||||
programs.himalaya.enable = true;
|
programs.himalaya.enable = true;
|
||||||
|
programs.notmuch.enable = true;
|
||||||
programs.mu.enable = true;
|
programs.aerc.enable = true;
|
||||||
|
programs.aerc.extraConfig.general.unsafe-accounts-conf = true;
|
||||||
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = "Mail";
|
maildirBasePath = "Mail";
|
||||||
@@ -20,21 +19,22 @@ in
|
|||||||
|
|
||||||
accounts = {
|
accounts = {
|
||||||
FastMail = {
|
FastMail = {
|
||||||
|
flavor = "fastmail.com";
|
||||||
address = "dustin@dustinswan.com";
|
address = "dustin@dustinswan.com";
|
||||||
aliases = [ "dustinswan@gmail.com" ];
|
aliases = [ "dustinswan@gmail.com" ];
|
||||||
realName = "Dustin Swan";
|
realName = "Dustin Swan";
|
||||||
primary = true;
|
primary = true;
|
||||||
folders = {
|
folders = {
|
||||||
inbox = "INBOX";
|
inbox = "INBOX";
|
||||||
drafts = "INBOX.Drafts";
|
drafts = "Drafts";
|
||||||
sent = "INBOX.Sent";
|
sent = "Sent";
|
||||||
trash = "INBOX.Trash";
|
trash = "Trash";
|
||||||
};
|
};
|
||||||
userName = "dustinswan@fastmail.com";
|
userName = "dustinswan@fastmail.com";
|
||||||
imap.host = "mail.messagingengine.com";
|
gpg = {
|
||||||
imap.port = 993;
|
signByDefault = true;
|
||||||
smtp.host = "mail.messagingengine.com";
|
key = "AD11750151C10881970BD943AB49BD6B2B3A6377";
|
||||||
smtp.port = 465;
|
};
|
||||||
passwordCommand = "gpg -dq ${builtins.getEnv "HOME"}/.dustinswan@fastmail.com-password.gpg";
|
passwordCommand = "gpg -dq ${builtins.getEnv "HOME"}/.dustinswan@fastmail.com-password.gpg";
|
||||||
mbsync = {
|
mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -47,25 +47,58 @@ in
|
|||||||
# onNotify = "\${pkgs.isync}/bin/mbsync -a";
|
# onNotify = "\${pkgs.isync}/bin/mbsync -a";
|
||||||
# onNotifyPost = { mail = "\${pkgs.noti}/bin/noti 'New mail'"; };
|
# onNotifyPost = { mail = "\${pkgs.noti}/bin/noti 'New mail'"; };
|
||||||
# };
|
# };
|
||||||
mu.enable = true;
|
notmuch.enable = true;
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
himalaya = {
|
aerc.enable = true;
|
||||||
enable = true;
|
# himalaya = {
|
||||||
settings = {
|
# enable = true;
|
||||||
|
# settings = {
|
||||||
# backend = "maildir";
|
# backend = "maildir";
|
||||||
# maildir.root-dir = "";
|
# maildir.root-dir = "";
|
||||||
# message.send.backend = "smtp";
|
# message.send.backend = "smtp";
|
||||||
# sent-folder = "INBOX.Sent";
|
# sent-folder = "Sent";
|
||||||
# draft-folder = "INBOX.Drafts";
|
# draft-folder = "Drafts";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
signature = {
|
signature = {
|
||||||
text = ''Dustin Swan | dustinswan.com'';
|
text = ''Dustin Swan | dustinswan.com'';
|
||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
MajorRocket = {
|
||||||
|
flavor = "gmail.com";
|
||||||
|
address = "dustin@majorrocket.com";
|
||||||
|
realName = "Dustin Swan";
|
||||||
|
primary = false;
|
||||||
|
folders = {
|
||||||
|
inbox = "Inbox";
|
||||||
|
drafts = "[Gmail]/Drafts";
|
||||||
|
sent = "[Gmail]/Sent Mail";
|
||||||
|
trash = "[Gmail]/Trash";
|
||||||
|
};
|
||||||
|
userName = "dustin@majorrocket.com";
|
||||||
|
passwordCommand = "gpg -dq ${builtins.getEnv "HOME"}/.dustin@majorrocket.com-password.gpg";
|
||||||
|
mbsync = {
|
||||||
|
enable = true;
|
||||||
|
create = "maildir";
|
||||||
|
expunge = "maildir";
|
||||||
|
};
|
||||||
|
msmtp.enable = true;
|
||||||
|
notmuch.enable = true;
|
||||||
|
aerc.enable = true;
|
||||||
|
# himalaya = {
|
||||||
|
# enable = true;
|
||||||
|
# };
|
||||||
|
signature = {
|
||||||
|
text = ''Dustin Swan | Major Rocket'';
|
||||||
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# TODO: home-manager now supports all this, don't need to do custom config files
|
||||||
|
|
||||||
home.file.vdirsyncer = {
|
home.file.vdirsyncer = {
|
||||||
target = ".config/vdirsyncer/config";
|
target = ".config/vdirsyncer/config";
|
||||||
|
|||||||
Reference in New Issue
Block a user