Files
nix-config/common/packages.nix
Dave Gallant 395181a070 Add gofumpt
2021-12-19 00:31:14 -05:00

223 lines
3.6 KiB
Nix

{ config, lib, pkgs, ... }:
let inherit (pkgs) stdenv;
in
{
# System-wide packages to install.
environment.systemPackages = with pkgs;
let
common = [
# utils
curl
du-dust
duf
gnupg
imagemagick
pfetch
unzip
xdg_utils
zip
# dev tools
act
asciinema
chromedriver
dive
gcc
git
git-crypt
github-cli
gnumake
hadolint
lazygit
pre-commit
shellcheck
shfmt
starship
tokei
# containers
docker
docker-compose
podman
# language servers
nodePackages.bash-language-server
nodePackages.yaml-language-server
nodePackages.pyright
# productivity
bat
colordiff
exa
fd
go-jira
jq
ripgrep
tldr
tmux-sessionizer
xclip
# blog
hugo
# printing
ghostscript
# monitoring
ctop
glances
htop
procs
# data tools
dbeaver
postgresql
# password managers
_1password
bitwarden-cli
gopass
# lua
lua53Packages.luacheck
stylua
# golang
golangci-lint
golint
gopls
gofumpt
# js
nodePackages.prettier
nodePackages.yarn
# imaging
gifsicle
# video
youtube-dl
# network
arp-scan
bandwhich
dnsutils
gping
iperf
nmap
openssl
openvpn
sshfs # mac requires https://osxfuse.github.io/
tcpdump
vpngate
whois
# backup
restic
# infra tools
terraform
terraform-ls
terraformer
tflint
tfsec
# gcp
google-cloud-sdk
# nix
cachix
nix-diff
nixfmt
nixpkgs-fmt
nixpkgs-review
rnix-lsp
# communication
element-desktop
## aws
aws-connect
aws-role-play
aws-vault
awscli2
awslogs
ssm-session-manager-plugin
# python
python39
python39Packages.black
python39Packages.ipython
python39Packages.pip
python39Packages.poetry
python39Packages.setuptools
python39Packages.virtualenv
# ruby
rbenv
rubocop
ruby
rufo
rubyPackages.solargraph
# news
srv
# security
yubikey-manager
] ++ lib.optionals stdenv.isLinux ([
_1password-gui
albert
audio-recorder
authy
calibre
cryptsetup
firejail
glibcLocales
gnome3.gnome-tweaks
gnomeExtensions.appindicator
google-drive-ocamlfuse
gptfdisk
kazam
libreoffice
linuxPackages.perf
pinentry-curses
pulseeffects-pw
qemu
rtorrent
rustup
spotify
strace
usbutils
virtmanager
vlc
# Unsupported / broken on darwin:
aws-sam-cli
bitwarden
brave
datasette
deluge
discord
firefox
gimp
google-chrome
minecraft
postman
rfd
signal-desktop
slack
steam
tailscale
teams
wireshark-qt
zoom-us
netdata
]);
in
common;
programs.gnupg.agent.enable = true;
}