Git
What this config does
Home Manager configures Git identity and a global ignore list.
Nix location
conf/shared.nix:programs.git
Configured identity:
Owais Jamil <[email protected]>
Global ignores:
.DS_Store
Thumbs.db
*~
*.swp
*.swo
.env
.env.*
!.env.example
.direnv/
.devenv/
result
result-*
.sandbox/
AGENTS.md
CLAUDE.md
Portable setup
Set identity:
git config --global user.name 'Owais Jamil'
git config --global user.email '[email protected]'
Create a global ignore file:
cat > ~/.gitignore_global <<'EOF'
.DS_Store
Thumbs.db
*~
*.swp
*.swo
.env
.env.*
!.env.example
.direnv/
.devenv/
result
result-*
.sandbox/
AGENTS.md
CLAUDE.md
EOF
git config --global core.excludesfile ~/.gitignore_global
SSH remotes
SSH host config lives on the SSH page. SOPS key extraction lives on the Secrets page.
Check it
git config --global --get user.name
git config --global --get user.email
git config --global --get core.excludesfile