chore(darwin): install some packages via nix instead of brew

This commit is contained in:
Ryan Yin
2026-06-12 13:44:39 +08:00
parent 582c643f2e
commit e6245cad17
4 changed files with 4 additions and 24 deletions
+2 -4
View File
@@ -21,16 +21,14 @@
# pulumiPackages.pulumi-language-python
# pulumiPackages.pulumi-language-nodejs
# doctl # digitalocean
aliyun-cli
# aws
awscli2
ssm-session-manager-plugin # Amazon SSM Session Manager Plugin
aws-iam-authenticator
eksctl
# aliyun
aliyun-cli
# digitalocean
doctl
# google cloud
(pkgs-stable.google-cloud-sdk.withExtraComponents (
with pkgs-stable.google-cloud-sdk.components;
-1
View File
@@ -20,7 +20,6 @@
nickel
#-- json like
# terraform # install via brew on macOS
terraform-ls
jsonnet
jsonnet-language-server
+2 -9
View File
@@ -101,10 +101,9 @@ in
onActivation = {
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo
upgrade = true; # Upgrade outdated casks, formulae, and App Store apps
upgrade = false; # Upgrade outdated casks, formulae, and App Store apps
# 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile
cleanup = "zap";
extraFlags = [ "--force-cleanup" ];
};
# Applications to install from Mac App Store using mas.
@@ -140,11 +139,6 @@ in
# commands like `gsed` `gtar` are required by some tools
"gnu-sed"
"gnu-tar"
# misc that nix do not have cache for.
"git-trim"
"hashicorp/tap/terraform"
"terraformer"
];
taps = [
@@ -157,7 +151,7 @@ in
"firefox"
"google-chrome"
"nikitabobko/tap/aerospace" # an i3-like tiling window manager for macOS
# "nikitabobko/tap/aerospace" # an i3-like tiling window manager for macOS
"ghostty" # terminal emulator
# container & vm
@@ -192,7 +186,6 @@ in
# Development
"mitmproxy" # HTTP/HTTPS traffic inspector
"insomnia" # REST client
"wireshark-app" # network analyzer
# "google-cloud-sdk" # Google Cloud SDK
"miniforge" # Miniconda's community-driven distribution
-10
View File
@@ -4,20 +4,10 @@
# ===================================================================
let
brokenPackages = [
"terraform"
"terraformer"
"packer"
"git-trim"
"conda"
"mitmproxy"
"insomnia"
"wireshark"
"jsonnet"
"zls"
"verible"
"gdb"
"ncdu"
"racket-minimal"
];
in
{