mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
148 lines
2.1 KiB
Nix
148 lines
2.1 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (pkgs) stdenv;
|
|
in {
|
|
# System-wide packages to install.
|
|
environment.systemPackages = with pkgs; let
|
|
common = [
|
|
# essentials
|
|
curl
|
|
gcc
|
|
git-crypt
|
|
gnupg
|
|
imagemagick
|
|
jq
|
|
ripgrep
|
|
unzip
|
|
viddy
|
|
xclip
|
|
wget
|
|
xdg-utils
|
|
yq-go
|
|
zip
|
|
|
|
# productivity
|
|
bat
|
|
drone-cli
|
|
exa
|
|
fd
|
|
github-cli
|
|
gnumake
|
|
gomplate
|
|
hadolint
|
|
nodePackages.eslint
|
|
oha
|
|
postman
|
|
pre-commit
|
|
shellcheck
|
|
shfmt
|
|
starship
|
|
tldr
|
|
tmux-sessionizer
|
|
|
|
# containers
|
|
k9s
|
|
kube-score
|
|
kubecolor
|
|
kubectl
|
|
kubectx
|
|
kubernetes-helm
|
|
kustomize
|
|
minikube
|
|
stern
|
|
|
|
# language servers
|
|
nodePackages.bash-language-server
|
|
nodePackages.pyright
|
|
nodePackages.yaml-language-server
|
|
sumneko-lua-language-server
|
|
|
|
# monitoring
|
|
ctop
|
|
glances
|
|
htop
|
|
procs
|
|
|
|
# lua
|
|
lua53Packages.luacheck
|
|
stylua
|
|
|
|
# golang
|
|
golangci-lint
|
|
gopls
|
|
gofumpt
|
|
|
|
# rust
|
|
rustup
|
|
|
|
# js
|
|
nodejs
|
|
nodePackages.prettier
|
|
nodePackages.yarn
|
|
|
|
# video
|
|
youtube-dl
|
|
|
|
# networking
|
|
arp-scan
|
|
/*
|
|
dnsutils
|
|
*/
|
|
iperf
|
|
nmap
|
|
openssl
|
|
openvpn
|
|
sshfs # mac requires https://osxfuse.github.io/
|
|
vpngate
|
|
whois
|
|
|
|
# backup
|
|
rclone
|
|
restic
|
|
|
|
# infra
|
|
terraform-ls
|
|
terraformer
|
|
tflint
|
|
tfswitch
|
|
|
|
# nix
|
|
alejandra
|
|
cachix
|
|
nix-diff
|
|
nixfmt
|
|
nixpkgs-fmt
|
|
nixpkgs-review
|
|
rnix-lsp
|
|
|
|
# cloud
|
|
awscli2
|
|
cloud-sql-proxy
|
|
google-cloud-sdk
|
|
ssm-session-manager-plugin
|
|
|
|
# python
|
|
python310
|
|
python310Packages.black
|
|
python310Packages.ipython
|
|
python310Packages.pip
|
|
python310Packages.poetry
|
|
python310Packages.setuptools
|
|
python310Packages.virtualenv
|
|
|
|
# blog
|
|
hugo
|
|
|
|
# news
|
|
srv
|
|
];
|
|
in
|
|
common;
|
|
|
|
programs.gnupg.agent.enable = true;
|
|
}
|