Skip to content

Commit e6245ca

Browse files
committed
chore(darwin): install some packages via nix instead of brew
1 parent 582c643 commit e6245ca

4 files changed

Lines changed: 4 additions & 24 deletions

File tree

home/base/tui/cloud/default.nix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,14 @@
2121
# pulumiPackages.pulumi-language-python
2222
# pulumiPackages.pulumi-language-nodejs
2323

24+
# doctl # digitalocean
25+
aliyun-cli
2426
# aws
2527
awscli2
2628
ssm-session-manager-plugin # Amazon SSM Session Manager Plugin
2729
aws-iam-authenticator
2830
eksctl
2931

30-
# aliyun
31-
aliyun-cli
32-
# digitalocean
33-
doctl
3432
# google cloud
3533
(pkgs-stable.google-cloud-sdk.withExtraComponents (
3634
with pkgs-stable.google-cloud-sdk.components;

home/base/tui/editors/packages.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
nickel
2121

2222
#-- json like
23-
# terraform # install via brew on macOS
2423
terraform-ls
2524
jsonnet
2625
jsonnet-language-server

modules/darwin/apps.nix

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,9 @@ in
101101

102102
onActivation = {
103103
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo
104-
upgrade = true; # Upgrade outdated casks, formulae, and App Store apps
104+
upgrade = false; # Upgrade outdated casks, formulae, and App Store apps
105105
# 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile
106106
cleanup = "zap";
107-
extraFlags = [ "--force-cleanup" ];
108107
};
109108

110109
# Applications to install from Mac App Store using mas.
@@ -140,11 +139,6 @@ in
140139
# commands like `gsed` `gtar` are required by some tools
141140
"gnu-sed"
142141
"gnu-tar"
143-
144-
# misc that nix do not have cache for.
145-
"git-trim"
146-
"hashicorp/tap/terraform"
147-
"terraformer"
148142
];
149143

150144
taps = [
@@ -157,7 +151,7 @@ in
157151
"firefox"
158152
"google-chrome"
159153

160-
"nikitabobko/tap/aerospace" # an i3-like tiling window manager for macOS
154+
# "nikitabobko/tap/aerospace" # an i3-like tiling window manager for macOS
161155
"ghostty" # terminal emulator
162156

163157
# container & vm
@@ -192,7 +186,6 @@ in
192186

193187
# Development
194188
"mitmproxy" # HTTP/HTTPS traffic inspector
195-
"insomnia" # REST client
196189
"wireshark-app" # network analyzer
197190
# "google-cloud-sdk" # Google Cloud SDK
198191
"miniforge" # Miniconda's community-driven distribution

modules/darwin/broken-packages.nix

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,10 @@
44
# ===================================================================
55
let
66
brokenPackages = [
7-
"terraform"
8-
"terraformer"
9-
"packer"
10-
"git-trim"
117
"conda"
128
"mitmproxy"
13-
"insomnia"
149
"wireshark"
15-
"jsonnet"
16-
"zls"
1710
"verible"
18-
"gdb"
19-
"ncdu"
20-
"racket-minimal"
2111
];
2212
in
2313
{

0 commit comments

Comments
 (0)