mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-02-25 17:34:48 +01:00
feat: remove nur & devenv feat: adjust the structure to make it suitable for servers feat: add iso/proxmox generators and add docs about it feat: update ryan's openssh keys & add hashedPassword feat: add proxmox's nodes into ssh_config, with alias
78 lines
1.8 KiB
Nix
78 lines
1.8 KiB
Nix
{ pkgs, ... }:
|
||
|
||
{
|
||
home.packages = with pkgs; [
|
||
neofetch
|
||
nnn # terminal file manager
|
||
|
||
# archives
|
||
zip
|
||
xz
|
||
unzip
|
||
p7zip
|
||
|
||
# utils
|
||
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’
|
||
fzf # A command-line fuzzy finder
|
||
|
||
# networking tools
|
||
mtr # A network diagnostic tool
|
||
iperf3
|
||
dnsutils # `dig` + `nslookup`
|
||
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
|
||
ipcalc # it is a calculator for the IPv4/v6 addresses
|
||
|
||
# misc
|
||
cowsay
|
||
file
|
||
which
|
||
tree
|
||
gnused
|
||
gnutar
|
||
gawk
|
||
zstd
|
||
caddy
|
||
gnupg
|
||
|
||
# nix related
|
||
#
|
||
# it provides the command `nom` works just like `nix
|
||
# with more details log output
|
||
nix-output-monitor
|
||
|
||
# productivity
|
||
hugo # static site generator
|
||
glow # markdown previewer in terminal
|
||
];
|
||
|
||
programs = {
|
||
# a cat(1) clone with syntax highlighting and Git integration.
|
||
bat = {
|
||
enable = true;
|
||
config = {
|
||
pager = "less -FR";
|
||
theme = "Catppuccin-mocha";
|
||
};
|
||
themes = {
|
||
Catppuccin-mocha = builtins.readFile (pkgs.fetchurl {
|
||
url = "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme";
|
||
hash = "sha256-qMQNJGZImmjrqzy7IiEkY5IhvPAMZpq0W6skLLsng/w=";
|
||
});
|
||
};
|
||
};
|
||
|
||
# skim provides a single executable: sk.
|
||
# Basically anywhere you would want to use grep, try sk instead.
|
||
skim = {
|
||
enable = true;
|
||
enableBashIntegration = true;
|
||
};
|
||
};
|
||
}
|