This commit is contained in:
2025-11-15 23:45:33 +08:00
parent e7da80bb0c
commit b50e4e489c
15 changed files with 358 additions and 225 deletions
+46
View File
@@ -0,0 +1,46 @@
# Development tools and utilities
{
inputs,
lib,
config,
pkgs,
...
}: {
home.packages = with pkgs; [
# Version control tools
gh # GitHub CLI
lazygit # Terminal UI for git
# Build tools
gnumake
cmake
# Optional language runtimes (uncomment as needed)
# python311
# nodejs_20
# go
# rustc
# cargo
# Docker and containers (Linux only, macOS uses Docker Desktop)
] ++ lib.optionals pkgs.stdenv.isLinux [
# docker
# docker-compose
];
# GitHub CLI configuration
programs.gh = {
enable = true;
settings = {
git_protocol = "ssh";
prompt = "enabled";
};
};
# Direnv for per-directory environments
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
}