2025-09-21 19:04:45 -07:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
{
|
|
|
|
|
# Set default terminal environment variable
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
|
TERMINAL = lib.mkForce "open -a Terminal.app .";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# Add NPM installed programs to PATH.
|
|
|
|
|
home.sessionPath = [
|
2025-09-22 09:42:02 -07:00
|
|
|
"/Users/tbingmann/node_modules/.bin"
|
2025-09-21 19:04:45 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
|
userName = lib.mkDefault "Timo Bingmann";
|
|
|
|
|
userEmail = lib.mkDefault "tbgit@panthema.net";
|
|
|
|
|
|
|
|
|
|
extraConfig = {
|
|
|
|
|
credential.helper = "${pkgs.git}/bin/git-credential-osxkeychain";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|