This commit is contained in:
2025-11-15 23:57:24 +08:00
parent b50e4e489c
commit c8830c8198
6 changed files with 9 additions and 7 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;
};
}