48 lines
809 B
Nix

{pkgs, ...}: {
home.packages = with pkgs; [
# devbox
unstable.devbox
# Javascript
nodejs
nodePackages.yarn
unstable.nodePackages.pnpm
deno
unstable.bun
# PHP
php
# Python
python3
# Kubernetes
azure-cli
kubectl
kubernetes-helm
# Nix
nil
alejandra
# Rust
(rust-bin.stable.latest.default.override {
extensions = ["rust-src"];
})
];
programs.zsh.initExtra = ''
export PATH=~/.npm-packages/bin:$PATH
export NODE_PATH=~/.npm-packages/lib/node_modules
'';
programs.direnv = {
enable = true;
};
# Bun Git config
programs.git = {
attributes = [
"*.lockb binary diff=lockb"
];
extraConfig = {
diff.lockb.textconv = "bun";
diff.lockb.binary = "true";
};
};
}