mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-09 14:15:12 +02:00
chore(darwin): install some packages via nix instead of brew
This commit is contained in:
@@ -21,16 +21,14 @@
|
|||||||
# pulumiPackages.pulumi-language-python
|
# pulumiPackages.pulumi-language-python
|
||||||
# pulumiPackages.pulumi-language-nodejs
|
# pulumiPackages.pulumi-language-nodejs
|
||||||
|
|
||||||
|
# doctl # digitalocean
|
||||||
|
aliyun-cli
|
||||||
# aws
|
# aws
|
||||||
awscli2
|
awscli2
|
||||||
ssm-session-manager-plugin # Amazon SSM Session Manager Plugin
|
ssm-session-manager-plugin # Amazon SSM Session Manager Plugin
|
||||||
aws-iam-authenticator
|
aws-iam-authenticator
|
||||||
eksctl
|
eksctl
|
||||||
|
|
||||||
# aliyun
|
|
||||||
aliyun-cli
|
|
||||||
# digitalocean
|
|
||||||
doctl
|
|
||||||
# google cloud
|
# google cloud
|
||||||
(pkgs-stable.google-cloud-sdk.withExtraComponents (
|
(pkgs-stable.google-cloud-sdk.withExtraComponents (
|
||||||
with pkgs-stable.google-cloud-sdk.components;
|
with pkgs-stable.google-cloud-sdk.components;
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
nickel
|
nickel
|
||||||
|
|
||||||
#-- json like
|
#-- json like
|
||||||
# terraform # install via brew on macOS
|
|
||||||
terraform-ls
|
terraform-ls
|
||||||
jsonnet
|
jsonnet
|
||||||
jsonnet-language-server
|
jsonnet-language-server
|
||||||
|
|||||||
@@ -101,10 +101,9 @@ in
|
|||||||
|
|
||||||
onActivation = {
|
onActivation = {
|
||||||
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo
|
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
|
# 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile
|
||||||
cleanup = "zap";
|
cleanup = "zap";
|
||||||
extraFlags = [ "--force-cleanup" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Applications to install from Mac App Store using mas.
|
# Applications to install from Mac App Store using mas.
|
||||||
@@ -140,11 +139,6 @@ in
|
|||||||
# commands like `gsed` `gtar` are required by some tools
|
# commands like `gsed` `gtar` are required by some tools
|
||||||
"gnu-sed"
|
"gnu-sed"
|
||||||
"gnu-tar"
|
"gnu-tar"
|
||||||
|
|
||||||
# misc that nix do not have cache for.
|
|
||||||
"git-trim"
|
|
||||||
"hashicorp/tap/terraform"
|
|
||||||
"terraformer"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
taps = [
|
taps = [
|
||||||
@@ -157,7 +151,7 @@ in
|
|||||||
"firefox"
|
"firefox"
|
||||||
"google-chrome"
|
"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
|
"ghostty" # terminal emulator
|
||||||
|
|
||||||
# container & vm
|
# container & vm
|
||||||
@@ -192,7 +186,6 @@ in
|
|||||||
|
|
||||||
# Development
|
# Development
|
||||||
"mitmproxy" # HTTP/HTTPS traffic inspector
|
"mitmproxy" # HTTP/HTTPS traffic inspector
|
||||||
"insomnia" # REST client
|
|
||||||
"wireshark-app" # network analyzer
|
"wireshark-app" # network analyzer
|
||||||
# "google-cloud-sdk" # Google Cloud SDK
|
# "google-cloud-sdk" # Google Cloud SDK
|
||||||
"miniforge" # Miniconda's community-driven distribution
|
"miniforge" # Miniconda's community-driven distribution
|
||||||
|
|||||||
@@ -4,20 +4,10 @@
|
|||||||
# ===================================================================
|
# ===================================================================
|
||||||
let
|
let
|
||||||
brokenPackages = [
|
brokenPackages = [
|
||||||
"terraform"
|
|
||||||
"terraformer"
|
|
||||||
"packer"
|
|
||||||
"git-trim"
|
|
||||||
"conda"
|
"conda"
|
||||||
"mitmproxy"
|
"mitmproxy"
|
||||||
"insomnia"
|
|
||||||
"wireshark"
|
"wireshark"
|
||||||
"jsonnet"
|
|
||||||
"zls"
|
|
||||||
"verible"
|
"verible"
|
||||||
"gdb"
|
|
||||||
"ncdu"
|
|
||||||
"racket-minimal"
|
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user