1
0
Files
nix-shared/home/macos/home.nix

42 lines
799 B
Nix
Raw Normal View History

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 = [
"/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;
2025-12-04 11:33:19 -08:00
settings = {
user.name = "Timo Bingmann";
user.email = "tbingmann@ebay.com";
2025-09-21 19:04:45 -07:00
credential.helper = "${pkgs.git}/bin/git-credential-osxkeychain";
2025-12-04 11:33:19 -08:00
commit.gpgsign = true;
2025-09-21 19:04:45 -07:00
};
};
}