{ pkgs , config , ... }: let pythonEnv = pkgs.python3.withPackages (p: with p; [ beautifulsoup4 black click ipython isort pip prettytable pylsp-mypy python-lsp-ruff python-lsp-server requests ruff-lsp termcolor types-beautifulsoup4 types-requests virtualenv ]); in { programs.go = { enable = true; goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; package = pkgs.go_1_21; goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" ]; }; home.packages = with pkgs; [ # go go-tools golangci-lint gopls # rust rustup # docker dive # explore layers in docker images # shell shellcheck # ops google-cloud-sdk kubectl tfswitch # python pythonEnv ruff ]; home.sessionPath = [ config.home.sessionVariables.GOBIN ]; home.sessionVariables = with config.xdg; { IPYTHONDIR = "${cacheHome}/ipython"; PIP_LOG = "${cacheHome}/pip/pip.log"; PYLINTHOME = "${cacheHome}/pylint"; PYTHON_EGG_CACHE = "${cacheHome}/python-eggs"; MYPY_CACHE_DIR = "${cacheHome}/mypy"; }; }