mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 15:34:13 +01:00
61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
pkgs,
|
|
pkgs-unstable,
|
|
...
|
|
}: {
|
|
#############################################################
|
|
#
|
|
# Basic settings for development environment
|
|
#
|
|
# Please avoid to install language specific packages here(globally),
|
|
# instead, install them independently using dev-templates:
|
|
# https://github.com/the-nix-way/dev-templates
|
|
#
|
|
#############################################################
|
|
|
|
home.packages = with pkgs; [
|
|
pkgs-unstable.devbox
|
|
|
|
# DO NOT install build tools for C/C++ and others, set it per project by devShell instead
|
|
gnumake # used by this repo, to simplify the deployment
|
|
jdk17 # used to run some java based tools(.jar)
|
|
|
|
# python
|
|
(python311.withPackages (ps:
|
|
with ps; [
|
|
ipython
|
|
pandas
|
|
requests
|
|
pyquery
|
|
pyyaml
|
|
]))
|
|
|
|
# db related
|
|
dbeaver
|
|
mycli
|
|
pgcli
|
|
mongosh
|
|
sqlite
|
|
|
|
# embedded development
|
|
minicom
|
|
|
|
# other tools
|
|
bfg-repo-cleaner # remove large files from git history
|
|
k6 # load testing tool
|
|
mitmproxy # http/https proxy tool
|
|
protobuf # protocol buffer compiler
|
|
];
|
|
|
|
programs = {
|
|
direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
|
|
enableZshIntegration = true;
|
|
enableBashIntegration = true;
|
|
enableNushellIntegration = true;
|
|
};
|
|
};
|
|
}
|