Files
nixos-config/home-manager/commands/commands.nix
2025-08-19 18:12:07 -07:00

139 lines
2.0 KiB
Nix

{
pkgs,
lib,
hostname,
...
}:
{
imports = [
./direnv.nix
./eza.nix
./fastfetch/fastfetch.nix
./git.nix
./newsboat.nix
./nixvim/default.nix
./starship.nix
./tmux.nix
./zsh.nix
];
home.packages = with pkgs; [
age
age-plugin-1p
age-plugin-yubikey
agedu
bat
btop
cbonsai
curl
dig
dust
ffmpeg-full
fzf
gemini-cli
git-filter-repo
jq
kitty
lazygit
nmap
ocamlPackages.utop
ollama
# opencode
openconnect
openssl
putty
ripgrep
tailscale
termusic
timg
tldr
trippy
trivy
wget
wireguard-tools
yazi
yt-dlp
yubikey-manager
]
++ lib.optionals (hostname == "eva-01") [
# cli
parted
traceroute
# cyber
amass
bettercap
bully
burpsuite
cowpatty
crunch
dirbuster
dnschef
ffuf
hash-identifier
hashcat
hashcat-utils
hping
macchanger
medusa
netdiscover
netexec
pwnat
pwncat
reaverwps-t6x
recon-ng
rustscan
sqlmap
steghide
thc-hydra
]
++ lib.optionals (hostname == "eva-02") [
]
++ lib.optionals (hostname == "eva-03") [
# cli
parted
traceroute
]
++ lib.optionals (hostname == "buildbox") [
# cli
parted
traceroute
];
programs = {
ssh = {
enable = true;
matchBlocks = {
global = {
host = "*";
setEnv = {
TERM = "xterm-256color";
};
};
} // lib.optionalAttrs (hostname == "buildbox") {
"192.168.8.109" = {
identityFile = "~/.ssh/gitea-buildbox";
user = "gitea";
};
"github.com" = {
identityFile = "~/.ssh/github-buildbox";
user = "git";
};
};
extraConfig = ''
IdentityAgent ~/.1password/agent.sock
'';
};
zoxide = {
enable = true;
enableZshIntegration = true;
};
};
}