diff --git a/home-manager.nix b/home-manager.nix index c432ac6..4809190 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -56,6 +56,17 @@ in { which apt >/dev/null 2>&1 && plugins=("\$\{(@)plugins:#tmux-my\}") ''; }; + + gpg.enable = true; + }; + + services = { + gpg-agent = { + enable = true; + extraConfig = '' + pinentry-program ${pkgs.pinentry}/bin/pinentry-curses + ''; + }; }; home.file = {