From 6eeae1d0059fe7c21a1bd806eb8a465571c16aad Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sun, 14 Jun 2026 12:31:30 +0200 Subject: refactor(darwin): move CLI tools from homebrew to nixpkgs --- modules/darwin/default.nix | 114 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 112 insertions(+), 2 deletions(-) (limited to 'modules/darwin/default.nix') diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix index 5b487ef..26201a1 100644 --- a/modules/darwin/default.nix +++ b/modules/darwin/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { imports = [ @@ -29,8 +29,118 @@ # Core system packages available to all users environment.systemPackages = with pkgs; [ + # GUI apps + # Pin a newer release; the version in nixpkgs has a dead download URL. + (whatsapp-for-mac.overrideAttrs (old: { + version = "2.26.23.21"; + src = old.src.overrideAttrs (_: { + outputHash = "sha256-1nVO9KaDC6aVnDc3T4CNVghVQcNuzPajMjD2GjNB0mA="; + }); + })) + + # Editors and terminal multiplexers + neovim + tmux + + # Shells and shell utilities + zsh + bash + ghq + moreutils + + # GNU tools + findutils + gnused + gnugrep + + # Networking tools curl - git + nmap wget + cloudflared + + # Compression libraries and tools + lz4 + zlib + zstd + libffi + p7zip + pigz + + # Programming languages and runtimes + golangci-lint + zig + typst + rustup + + # JavaScript runtimes and package managers + bun + pnpm + deno + + # Version control + git + git-lfs + delta + lazygit + + # Search tools + ripgrep + fzf + + # JSON/YAML processing tools + jq + yq-go + + # Protobuf and gRPC + protobuf + protoc-gen-go + protoc-gen-go-grpc + + # Cloud and IaC tools + pulumi + pulumictl + kubectl + kubernetes-helm + cilium-cli + doctl + flyctl + talosctl + tektoncd-cli + runpodctl + + # Task runners and automation + act + + # Databases and database tools + turso + libpq + sqlc + + # Terminal tools + pv + rename + tree + tldr + starship + gh + htop + + # HTTP and web servers + caddy + goreleaser + + # Document and media tools + pandoc + ffmpeg + tesseract + ghostscript + graphviz + + # Python tools + pipx + + # Specific toolsets + rclone ]; } -- cgit v1.2.3