dotfiles.nix/home/packages.nix
2023-03-12 16:25:17 -07:00

114 lines
1.9 KiB
Nix

{ pkgs, lib, ... }:
let
darwin = with pkgs; [
pngpaste
pinentry-touchid
pinentry-mac
spoof-mac
];
linux = with pkgs; [ ];
pass-extended = pkgs.pass.withExtensions (exts: [ exts.pass-genphrase exts.pass-otp exts.pass-import ]);
python-wp = pkgs.python310.withPackages (p: with p; [ setuptools pyaml requests latexify-py ]);
node-packages = with pkgs.nodePackages; [ bash-language-server prettier ];
octave-wp = pkgs.octave.withPackages (p: with p; [ symbolic ]);
texliveset = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-basic
babel
amscls
amsmath
biber
biblatex
biblatex-mla
block
cancel
caption
capt-of
csquotes
enotez
enumitem
etex
etoolbox
fancyhdr
float
fontaxes
graphics
hanging
hyperref
latex
latexindent
latexmk
logreq
metafont
mlacls
newtx
preprint
psnfss
ragged2e
titlesec
tools
translations
ulem
url
wrapfig
xstring
xkeyval;
};
in
{
home.packages = with pkgs;
[
autoconf
automake
bash
bat
black
clang-tools
cmake
comma
curl
docker
docker-compose
fd
findutils
gawk
gnuplot
graphviz
htop
jq
nix-review
nix-zsh-completions
nixfmt
nixpkgs-fmt
nmap
octave-wp
openssh
pass-extended
plantuml
poppler
pv
python-wp
ripgrep
rnix-lsp
rsync
rustup
shellcheck
shfmt
spotify-tui
spotifyd
sqlite
texinfo
texliveset
tldr
units
unp
unrar
unzip
wget
yq
zsh-completions
]
++ lib.optionals stdenv.isDarwin darwin
++ lib.optionals stdenv.isLinux linux
++ node-packages;
}