t
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Development tools and utilities
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
# Version control tools
|
||||
gh # GitHub CLI
|
||||
lazygit # Terminal UI for git
|
||||
|
||||
# Build tools
|
||||
gnumake
|
||||
cmake
|
||||
|
||||
# Optional language runtimes (uncomment as needed)
|
||||
# python311
|
||||
# nodejs_20
|
||||
# go
|
||||
# rustc
|
||||
# cargo
|
||||
|
||||
# Docker and containers (Linux only, macOS uses Docker Desktop)
|
||||
] ++ lib.optionals pkgs.stdenv.isLinux [
|
||||
# docker
|
||||
# docker-compose
|
||||
];
|
||||
|
||||
# Direnv for per-directory environments
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
# 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
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user