mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-06-08 23:52:43 +02:00
feat: update packages for macOS
This commit is contained in:
@@ -15,18 +15,20 @@
|
|||||||
ripgrep # recursively searches directories for a regex pattern
|
ripgrep # recursively searches directories for a regex pattern
|
||||||
jq # A lightweight and flexible command-line JSON processor
|
jq # A lightweight and flexible command-line JSON processor
|
||||||
yq-go # yaml processer https://github.com/mikefarah/yq
|
yq-go # yaml processer https://github.com/mikefarah/yq
|
||||||
exa # A modern replacement for ‘ls’
|
exa # A modern replacement for ‘ls’
|
||||||
|
fzf # A command-line fuzzy finder
|
||||||
|
|
||||||
# networking tools
|
# networking tools
|
||||||
mtr # A network diagnostic tool
|
mtr # A network diagnostic tool
|
||||||
iperf3
|
iperf3
|
||||||
nmap
|
nmap
|
||||||
socat
|
|
||||||
ldns # replacement of dig, it provide the command `drill`
|
ldns # replacement of dig, it provide the command `drill`
|
||||||
aria2 # A lightweight multi-protocol & multi-source command-line download utility
|
aria2 # A lightweight multi-protocol & multi-source command-line download utility
|
||||||
socat # replacement of openbsd-netcat
|
socat # replacement of openbsd-netcat
|
||||||
|
nmap # A utility for network discovery and security auditing
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
cowsay
|
||||||
file
|
file
|
||||||
which
|
which
|
||||||
tree
|
tree
|
||||||
@@ -36,6 +38,9 @@
|
|||||||
p7zip
|
p7zip
|
||||||
xz
|
xz
|
||||||
zstd
|
zstd
|
||||||
|
caddy
|
||||||
|
gnupg
|
||||||
|
|
||||||
|
|
||||||
# productivity
|
# productivity
|
||||||
hugo
|
hugo
|
||||||
|
|||||||
@@ -10,14 +10,22 @@
|
|||||||
# jetbrains.idea-community
|
# jetbrains.idea-community
|
||||||
|
|
||||||
# cloud native
|
# cloud native
|
||||||
|
skopeo
|
||||||
docker-compose
|
docker-compose
|
||||||
kubectl
|
kubectl
|
||||||
kubernetes-helm
|
kubernetes-helm
|
||||||
terraform
|
terraform
|
||||||
|
# terraformer # generate terraform configs from existing cloud resources
|
||||||
pulumi
|
pulumi
|
||||||
|
pulumictl
|
||||||
|
k9s
|
||||||
|
# istioctl
|
||||||
|
|
||||||
# cloud provider
|
# cloud provider
|
||||||
awscli
|
awscli
|
||||||
|
awscurl
|
||||||
|
aws-iam-authenticator
|
||||||
|
eksctl
|
||||||
|
|
||||||
# DO NOT install build tools for C/C++, set it per project by devShell instead
|
# DO NOT install build tools for C/C++, set it per project by devShell instead
|
||||||
gnumake # used by this repo, to simplify the deployment
|
gnumake # used by this repo, to simplify the deployment
|
||||||
@@ -69,9 +77,24 @@
|
|||||||
dbeaver
|
dbeaver
|
||||||
mycli
|
mycli
|
||||||
pgcli
|
pgcli
|
||||||
|
mongosh
|
||||||
|
|
||||||
# embedded development
|
# embedded development
|
||||||
minicom
|
minicom
|
||||||
|
|
||||||
|
# other languages
|
||||||
|
# julia
|
||||||
|
zig
|
||||||
|
# elixir
|
||||||
|
# solidity
|
||||||
|
|
||||||
|
# java
|
||||||
|
# adoptopenjdk-openj9-bin-17
|
||||||
|
|
||||||
|
# other tools
|
||||||
|
k6 # load testing tool
|
||||||
|
mitmproxy # http/https proxy tool
|
||||||
|
protobuf # protocol buffer compiler
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|||||||
+10
-1
@@ -1,9 +1,18 @@
|
|||||||
|
# Install those apps using brew, instead of nix
|
||||||
|
# because they are not available in nixpkgs with the support of darwin
|
||||||
|
# ==> Brew Casks
|
||||||
|
# iglance jdk-mission-control visual-studio-code
|
||||||
|
# anki firefox iina openinterminal-lite
|
||||||
|
# insomnia orbstack
|
||||||
|
# clashx google-chrome intellij-idea-ce pycharm-ce
|
||||||
|
# discord google-cloud-sdk iterm2 telegram wireshark
|
||||||
|
|
||||||
|
|
||||||
{pkgs, ...}:
|
{pkgs, ...}:
|
||||||
{
|
{
|
||||||
# MacOS specific configuration
|
# MacOS specific configuration
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
mpv
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
|
|||||||
+6
-12
@@ -42,19 +42,13 @@
|
|||||||
material-design-icons
|
material-design-icons
|
||||||
font-awesome
|
font-awesome
|
||||||
|
|
||||||
# Noto 系列字体是 Google 主导的,名字的含义是「没有豆腐」(no tofu),因为缺字时显示的方框或者方框被叫作 tofu
|
# nerdfonts
|
||||||
# Noto 系列字族名只支持英文,命名规则是 Noto + Sans 或 Serif + 文字名称。
|
(nerdfonts.override { fonts = [
|
||||||
# 其中汉字部分叫 Noto Sans/Serif CJK SC/TC/HK/JP/KR,最后一个词是地区变种。
|
"FiraCode"
|
||||||
noto-fonts # 大部分文字的常见样式,不包含汉字
|
"JetBrainsMono"
|
||||||
noto-fonts-cjk # 汉字部分
|
"Iosevka"
|
||||||
noto-fonts-emoji # 彩色的表情符号字体
|
];})
|
||||||
noto-fonts-extra # 提供额外的字重和宽度变种
|
|
||||||
|
|
||||||
# 思源系列字体是 Adobe 主导的。其中汉字部分被称为「思源黑体」和「思源宋体」,是由 Adobe + Google 共同开发的
|
|
||||||
source-sans # 无衬线字体,不含汉字。字族名叫 Source Sans 3 和 Source Sans Pro,以及带字重的变体,加上 Source Sans 3 VF
|
|
||||||
source-serif # 衬线字体,不含汉字。字族名叫 Source Code Pro,以及带字重的变体
|
|
||||||
source-han-sans # 思源黑体
|
|
||||||
source-han-serif # 思源宋体
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user