Skip to content

Commit 9cc96d4

Browse files
committed
refactor: modularize mail tools
Extract mail-related tools from core user packages into optional module: - Add mail clients: neomutt, himalaya - Add mail utilities: msmtp, mu, abook - Add refnode's own tooling: ref-mail-* - Add contacts/calendar: vdirsyncer, khard, khal
1 parent 65db609 commit 9cc96d4

File tree

2 files changed

+28
-12
lines changed

2 files changed

+28
-12
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{ pkgs, ... }:
2+
3+
{
4+
# Mail tools for email management and scripting
5+
6+
home.packages = with pkgs; [
7+
# Mail clients
8+
neomutt
9+
unstable.himalaya
10+
11+
# Mail utilities
12+
unstable.msmtp
13+
unstable.mu
14+
abook
15+
16+
# refnode's own tooling
17+
ref-mail
18+
ref-mail-cd
19+
ref-mail-cdv
20+
ref-mail-sync
21+
22+
# Contacts and calendar
23+
vdirsyncer
24+
khard
25+
khal
26+
];
27+
}

users/refnode/default.nix

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
./common/optional/desktop/darwin.nix
55
./common/optional/kubernetes.nix
66
./common/optional/rust.nix
7+
./common/optional/mailtools.nix
78
];
89

910
# specify my home-manager configs
@@ -22,17 +23,12 @@
2223
direnv
2324
pdfgrep
2425
jasper
25-
abook
2626
lf
2727
universal-ctags
2828
ref-rebuild
2929
ref-sysupdate
3030
ref-ykey-check
3131
ref-main
32-
ref-mail
33-
ref-mail-cd
34-
ref-mail-cdv
35-
ref-mail-sync
3632
ref-irc
3733
ref-pathlist
3834
ref-git-bare-clone-update
@@ -72,10 +68,6 @@
7268
just
7369
#
7470
vlc-bin-universal
75-
# contacts / calendar
76-
vdirsyncer
77-
khard
78-
khal
7971

8072
unstable.fd
8173
unstable.eza
@@ -87,7 +79,6 @@
8779
unstable.graphviz
8880
unstable.plantuml-c4
8981
unstable.ffmpeg_7
90-
unstable.msmtp
9182
unstable.go
9283
unstable.gopls
9384
unstable.goreleaser
@@ -103,11 +94,9 @@
10394
unstable.jujutsu
10495
unstable.minio-client
10596
unstable.kanata
106-
unstable.himalaya
10797

10898
unstable.taskwarrior3
10999
# unstable.ladybird
110-
neomutt
111100
unstable.claude-code
112101
];
113102

0 commit comments

Comments
 (0)