mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-11 21:12:00 +01:00
feat: update packages for macOS
This commit is contained in:
@@ -15,18 +15,20 @@
|
||||
ripgrep # recursively searches directories for a regex pattern
|
||||
jq # A lightweight and flexible command-line JSON processor
|
||||
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
|
||||
mtr # A network diagnostic tool
|
||||
iperf3
|
||||
nmap
|
||||
socat
|
||||
ldns # replacement of dig, it provide the command `drill`
|
||||
aria2 # A lightweight multi-protocol & multi-source command-line download utility
|
||||
socat # replacement of openbsd-netcat
|
||||
nmap # A utility for network discovery and security auditing
|
||||
|
||||
# misc
|
||||
cowsay
|
||||
file
|
||||
which
|
||||
tree
|
||||
@@ -36,6 +38,9 @@
|
||||
p7zip
|
||||
xz
|
||||
zstd
|
||||
caddy
|
||||
gnupg
|
||||
|
||||
|
||||
# productivity
|
||||
hugo
|
||||
|
||||
@@ -10,14 +10,22 @@
|
||||
# jetbrains.idea-community
|
||||
|
||||
# cloud native
|
||||
skopeo
|
||||
docker-compose
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
terraform
|
||||
# terraformer # generate terraform configs from existing cloud resources
|
||||
pulumi
|
||||
pulumictl
|
||||
k9s
|
||||
# istioctl
|
||||
|
||||
# cloud provider
|
||||
awscli
|
||||
awscurl
|
||||
aws-iam-authenticator
|
||||
eksctl
|
||||
|
||||
# DO NOT install build tools for C/C++, set it per project by devShell instead
|
||||
gnumake # used by this repo, to simplify the deployment
|
||||
@@ -69,9 +77,24 @@
|
||||
dbeaver
|
||||
mycli
|
||||
pgcli
|
||||
mongosh
|
||||
|
||||
# embedded development
|
||||
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 = {
|
||||
|
||||
@@ -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, ...}:
|
||||
{
|
||||
# MacOS specific configuration
|
||||
home.packages = with pkgs; [
|
||||
|
||||
mpv
|
||||
];
|
||||
|
||||
programs.ssh = {
|
||||
|
||||
@@ -42,19 +42,13 @@
|
||||
material-design-icons
|
||||
font-awesome
|
||||
|
||||
# Noto 系列字体是 Google 主导的,名字的含义是「没有豆腐」(no tofu),因为缺字时显示的方框或者方框被叫作 tofu
|
||||
# Noto 系列字族名只支持英文,命名规则是 Noto + Sans 或 Serif + 文字名称。
|
||||
# 其中汉字部分叫 Noto Sans/Serif CJK SC/TC/HK/JP/KR,最后一个词是地区变种。
|
||||
noto-fonts # 大部分文字的常见样式,不包含汉字
|
||||
noto-fonts-cjk # 汉字部分
|
||||
noto-fonts-emoji # 彩色的表情符号字体
|
||||
noto-fonts-extra # 提供额外的字重和宽度变种
|
||||
# nerdfonts
|
||||
(nerdfonts.override { fonts = [
|
||||
"FiraCode"
|
||||
"JetBrainsMono"
|
||||
"Iosevka"
|
||||
];})
|
||||
|
||||
# 思源系列字体是 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