1
0

add tb-shared home config

This commit is contained in:
Timo Bingmann
2025-07-18 19:49:06 -07:00
parent 7330ef822c
commit 437425837b
3 changed files with 94 additions and 22 deletions

View File

@@ -8,9 +8,6 @@
# Basic configuration
home.stateVersion = "25.05";
# Let Home Manager install and manage itself
programs.home-manager.enable = true;
# Configure PATH for all shells, including non-interactive ones
home.sessionPath = [
"${config.home.homeDirectory}/.local/bin"
@@ -49,7 +46,44 @@
nix
eza
# Version control
git
delta
# Languages and runtimes
python3
# System tools
coreutils
findutils
gnused
gawk
# Networking tools
curl
wget
# Archive tools
unzip
zip
# Process management
htop
btop
# JSON/YAML tools
jq
yq
bash
bash-completion
ncdu
screen
ripgrep
gnupg
];
# Bash configuration
@@ -80,23 +114,32 @@
"np" = "nix-portable nix run nixpkgs#bashInteractive --offline";
};
# History configuration
historyControl = [
"erasedups"
"ignoredups"
"ignorespace"
];
historyFileSize = 1000000;
historySize = 1000000;
};
# Direnv configuration
programs.direnv = {
# Git configuration
programs.git = {
enable = true;
nix-direnv.enable = true;
userName = "Timo Bingmann";
userEmail = "tbingmann@ebay.com";
# Add hook to .bashrc
enableBashIntegration = true;
extraConfig = {
credential.helper = "store --file ~/.git-credentials";
commit.gpgsign = true;
};
};
# GnuPG configuration
programs.gpg = {
enable = true;
};
services.gpg-agent = {
enable = true;
enableScDaemon = false;
enableSshSupport = false;
pinentry = {
package = pkgs.pinentry-curses;
};
};
}