mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-28 11:41:46 +01:00
fix: some packages has been removed from macOS
introduced by ae238d401d
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
vars_networking,
|
||||
pkgs,
|
||||
username,
|
||||
userfullname,
|
||||
nuenv,
|
||||
@@ -11,6 +11,45 @@
|
||||
]
|
||||
++ (import ../overlays args);
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git # used by nix flakes
|
||||
git-lfs # used by huggingface models
|
||||
|
||||
# archives
|
||||
zip
|
||||
xz
|
||||
zstd
|
||||
unzip
|
||||
p7zip
|
||||
|
||||
# Text Processing
|
||||
# Docs: https://github.com/learnbyexample/Command-line-text-processing
|
||||
gnugrep # GNU grep, provides `grep`/`egrep`/`fgrep`
|
||||
gnused # GNU sed, very powerful(mainly for replacing text in files)
|
||||
gawk # GNU awk, a pattern scanning and processing language
|
||||
jq # A lightweight and flexible command-line JSON processor
|
||||
|
||||
# networking tools
|
||||
mtr # A network diagnostic tool
|
||||
iperf3
|
||||
dnsutils # `dig` + `nslookup`
|
||||
ldns # replacement of `dig`, it provide the command `drill`
|
||||
wget
|
||||
curl
|
||||
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
|
||||
ipcalc # it is a calculator for the IPv4/v6 addresses
|
||||
|
||||
# misc
|
||||
file
|
||||
findutils
|
||||
which
|
||||
tree
|
||||
gnutar
|
||||
rsync
|
||||
];
|
||||
|
||||
users.users.${username} = {
|
||||
description = userfullname;
|
||||
# Public Keys that can be used to login to all my PCs, Macbooks, and servers.
|
||||
|
||||
@@ -62,22 +62,6 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
neofetch
|
||||
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
git # used by nix flakes
|
||||
git-lfs # used by huggingface models
|
||||
|
||||
# archives
|
||||
zip
|
||||
xz
|
||||
zstd
|
||||
unzip
|
||||
p7zip
|
||||
|
||||
# Text Processing
|
||||
# Docs: https://github.com/learnbyexample/Command-line-text-processing
|
||||
gnugrep # GNU grep, provides `grep`/`egrep`/`fgrep`
|
||||
gnused # GNU sed, very powerful(mainly for replacing text in files)
|
||||
gawk # GNU awk, a pattern scanning and processing language
|
||||
jq # A lightweight and flexible command-line JSON processor
|
||||
|
||||
# system call monitoring
|
||||
strace # system call monitoring
|
||||
@@ -103,14 +87,6 @@
|
||||
dmidecode # a tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard
|
||||
parted
|
||||
|
||||
# misc
|
||||
file
|
||||
findutils
|
||||
which
|
||||
tree
|
||||
gnutar
|
||||
rsync
|
||||
|
||||
# create a fhs environment by command `fhs`, so we can run non-nixos packages in nixos!
|
||||
(
|
||||
let
|
||||
|
||||
@@ -1,23 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
vars_networking,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# networking tools
|
||||
mtr # A network diagnostic tool
|
||||
iperf3
|
||||
dnsutils # `dig` + `nslookup`
|
||||
ldns # replacement of `dig`, it provide the command `drill`
|
||||
wget
|
||||
curl
|
||||
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
|
||||
ipcalc # it is a calculator for the IPv4/v6 addresses
|
||||
];
|
||||
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
|
||||
Reference in New Issue
Block a user