Browse Source

gpg and neomutt works

rework-profiles
parent
commit
bfd8baeb5b
3 changed files with 8 additions and 4 deletions
  1. +2
    -1
      common/default.nix
  2. +5
    -3
      common/xdg.nix
  3. +1
    -0
      dotfiles/mail/mutt/mutt-main.muttrc

+ 2
- 1
common/default.nix View File

@ -29,7 +29,8 @@ in
# basic set of tools & ssh
environment.systemPackages = with pkgs; [
wget neovim tmux git git-crypt pinentry-curses rsync imagemagick python-pkgs
wget neovim tmux git git-crypt pinentry-curses
rsync imagemagick python-pkgs pass
];
services.openssh = {


+ 5
- 3
common/xdg.nix View File

@ -30,8 +30,9 @@
GEM_SPEC_CACHE = "$XDG_CACHE_HOME/gem";
# java still store fonts in .java so i use a per-app wrapper
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java";
WGETRC = "~/.config/wgetrc";
WGETRC = "$HOME/.config/wgetrc";
PYTHONSTARTUP = "$HOME/.config/python/startup.py";
PASSWORD_STORE_DIR = "$HOME/.config/pass";
};
home-manager.users.govanify = {
@ -54,6 +55,7 @@
'';
# TODO: after all that ssh STILL tries to create the ~/.ssh folder. We need to
# export HOME=/tmp or equivalent before running it but this wouldn't work
# either as we would expand the global ssh config first...
# execute the following command in override postdownload of ssh
# sed -i 's/\.ssh/\.config\/ssh/' *pathnames.h
}

+ 1
- 0
dotfiles/mail/mutt/mutt-main.muttrc View File

@ -11,6 +11,7 @@
#
#
# TODO: add an automatic mailcount when reading mails or doing stuff
set crypt_use_gpgme = yes
#message-hook . "exec ~/.config/mutt/mail_count.sh"


Loading…
Cancel
Save