pub-solar-os/pkgs/mailto-mutt.nix
2022-11-20 23:28:23 +01:00

12 lines
217 B
Nix

self:
with self; ''
mkdir -p $XDG_CACHE_HOME/log
LOGFILE=$XDG_CACHE_HOME/log/mailto.log
echo "$@" >> $LOGFILE
EDITOR=/etc/profiles/per-user/$USER/bin/nvim
${alacritty}/bin/alacritty -e neomutt -- "$@"
''