151 lines
1.9 KiB
Nix
151 lines
1.9 KiB
Nix
# Modern CLI tools and utilities
|
|
{
|
|
inputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with pkgs; let
|
|
wrapBin = p: a: b:
|
|
pkgs.writeShellScriptBin b ''
|
|
#!/usr/bin/env bash
|
|
exec ${p}/bin/${a} $@
|
|
'';
|
|
pythonPackages = pkgs.python312.withPackages (p:
|
|
with p; [
|
|
python-lsp-server
|
|
pyls-flake8
|
|
pyls-isort
|
|
pyls-spyder
|
|
# pylsp-mypy
|
|
pylsqpack
|
|
black
|
|
pipenv
|
|
# nosetests
|
|
pytest
|
|
|
|
yt-dlp
|
|
opencv4
|
|
|
|
west
|
|
pyelftools
|
|
]);
|
|
in {
|
|
home.packages = with pkgs; [
|
|
# git is managed by programs.git in git.nix
|
|
vim
|
|
ripgrep
|
|
openvpn
|
|
aria2
|
|
ranger
|
|
ncdu
|
|
ffmpeg
|
|
|
|
cachix
|
|
|
|
# hyper-haskell
|
|
cabal-install
|
|
ghc
|
|
#(haskell-language-server.override {supportedGhcVersions = ["943"];})
|
|
|
|
(aspellWithDicts (ds: with ds; [en en-computers en-science]))
|
|
|
|
rdesktop
|
|
entr
|
|
|
|
fd
|
|
fzf
|
|
|
|
texlive.combined.scheme-full
|
|
imagemagick
|
|
|
|
alejandra
|
|
(wrapBin alejandra "alejandra --quiet" "nixfmt")
|
|
# nixfmt
|
|
# nixpkgs-fmt
|
|
pythonPackages
|
|
# commandNotFound
|
|
shellcheck
|
|
shfmt
|
|
|
|
graphviz
|
|
|
|
htop
|
|
|
|
eza
|
|
|
|
openconnect
|
|
yq
|
|
bat
|
|
delta
|
|
|
|
gnutar
|
|
netcat-gnu
|
|
jetbrains.idea-community
|
|
|
|
pywal
|
|
|
|
kcat
|
|
leetcode-cli
|
|
|
|
nodejs
|
|
redis
|
|
# hadoop
|
|
|
|
direnv
|
|
nix-direnv
|
|
|
|
pgformatter
|
|
pgcli
|
|
|
|
sbt
|
|
scala_2_12
|
|
scalafix
|
|
scalafmt
|
|
coursier
|
|
metals
|
|
|
|
protobuf
|
|
mycli
|
|
|
|
# apktool no darwin
|
|
|
|
docker
|
|
# lima - removed due to CVEs, use unstable version if needed
|
|
|
|
headscale
|
|
kitty
|
|
# add packages
|
|
|
|
w3m
|
|
# emacs is provided by doom-emacs module (programs.doom-emacs)
|
|
parinfer-rust
|
|
|
|
sshuttle
|
|
|
|
openssh
|
|
|
|
(wrapBin openssh "ssh" "fuckyou")
|
|
gnupg
|
|
gzip
|
|
|
|
esptool
|
|
|
|
cmake
|
|
wget
|
|
patchelf
|
|
ninja
|
|
|
|
wireguard-tools
|
|
wireguard-go
|
|
|
|
dfu-programmer
|
|
dua
|
|
# progs
|
|
|
|
zstd
|
|
bun
|
|
];
|
|
}
|