tvl-depot/configs/shared
William Carroll 3677a7a39e Begin supporting notmuch in Emacs
I'm borrowing from @tazjin's dotfiles, which are stored in Git on Borg. When you
call `nix-build ~/briefcase/mail`, result will output a systemd units, which you
should move to ~/.config/systemd/user/.

The path to `gmi`, which is Lieer's executable, exists in /nix/store, and you
can read it from the systemd unit file (i.e. lieer-google.service). Lieer
synchronizes notmuch with Gmail and Gmail with notmuch.

Here's a general sequence of commands that I ran to set everything up. Special
thank you to @tazjin for helping me with all of this. These steps are not
certified as a tutorial; I'm recalling them from memory. When I set this up
things didn't work as expected immediately and I had to troubleshoot.

```shell
> mkdir -p ~/mail/account.google
> cd ~/mail/account.google
> nix-env -iA nixpkgs.notmuch
> notmuch setup
> nix-build ~/briefcase/mail
> cp ./result/lieer-google.{service,timer} ~/.config/systemd/user
> rm ./result
> systemctl --user cat lieer-google
...copy the /nix/store path to gmi...
> notmuch new
> /nix/store/gmi init
...follow the OAuth login flow...
>
```

Unknowns?
- Do I need to call `systemctl --user start lieer-google` at startup? Or should
  I move these units to user/default.target.wants?
- Can I send email from notmuch?
- How do I use notmuch to delete email? To respond to emails? To do anything?

Todo:
- Once this configuration stabilizes, I should package everything with Nix.
2020-02-13 18:32:26 +00:00
..
.config Begin supporting notmuch in Emacs 2020-02-13 18:32:26 +00:00
.docker Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.gnupg Extend {default,max}-cache-ttl in gpg-agent.conf 2020-01-22 21:13:06 +00:00
.gvcci/themes Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.irssi Drop support for i3 2020-01-06 15:25:25 +00:00
.local/share Support the JetBrainsMono font 2020-01-17 10:56:21 +00:00
.ncmpcpp Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.ssh Support env vars for {DESK,LAP,CLOUD}TOP devices 2020-01-29 14:21:01 +00:00
.g4d Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.gitconfig Ensure git yday alias formats commits like git today 2020-01-06 15:25:25 +00:00
.gitignore Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.profile Start lorri with sytemd 2020-02-07 11:01:34 +00:00
.tmux.conf Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.Xmodmap Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.Xresources Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.Xresources.shared Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.xsecurelockrc Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.xsessionrc Massive configuration overhaul 2019-12-24 15:21:34 +00:00
.xsessionrc.shared Preferring to start wpcarros-emacs with dbus-launch 2020-02-10 23:24:38 +00:00