nix-darwin/home/core.nix
2026-03-15 02:49:46 +09:00

58 lines
1.1 KiB
Nix

{pkgs, ...}: {
home.packages = with pkgs; [
# archives
zip
xz
unzip
p7zip
(pkgs.writeShellApplication {
name = "ns";
runtimeInputs = with pkgs; [
fzf
nix-search-tv
];
text = builtins.readFile "${pkgs.nix-search-tv.src}/nixpkgs.sh";
})
# utils
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
gnused
gnutar
gawk
zstd
caddy
gnupg
# productivity
glow # markdown previewer in terminal
];
programs = {
# terminal file manager
yazi = {
enable = true;
enableZshIntegration = true;
settings = {
manager = {
show_hidden = true;
sort_dir_first = true;
};
};
};
# skim provides a single executable: sk.
# Basically anywhere you would want to use grep, try sk instead.
skim = {
enable = true;
enableBashIntegration = true;
};
};
}