{ lib, pkgs, ... }: { # Set default terminal environment variable home.sessionVariables = { TERMINAL = lib.mkForce "open -a Terminal.app ."; }; # Add NPM installed programs to PATH. home.sessionPath = [ "/Users/tbingmann/.npm-global/bin" ]; # GnuPG configuration programs.gpg = { enable = true; }; # GnuPG Agent configuration services.gpg-agent = { enable = true; enableScDaemon = false; enableSshSupport = false; pinentry = { package = pkgs.pinentry_mac; }; }; # Git configuration programs.git = { enable = true; settings = { user.name = "Timo Bingmann"; user.email = "tbingmann@ebay.com"; credential.helper = "${pkgs.git}/bin/git-credential-osxkeychain"; commit.gpgsign = true; }; }; }