{ pkgs , config , ... }: let pythonEnv = pkgs.python3.withPackages (p: with p; [ black click isort pylsp-mypy requests types-requests pip ipython virtualenv ]); in { programs.go = { enable = true; goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; package = pkgs.go_1_21; goPrivate = [ "github.rbx.com/roblox/*" "github.com/fcuny/world/*" ]; }; 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 ]; programs.zsh.shellAliases = { kc = "kubectl"; }; 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"; }; }