{ pkgs, config, ... }: { programs.go = { enable = true; goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" ]; }; home.packages = with pkgs; [ delve go-tools # collection of tools, https://github.com/dominikh/go-tools golangci-lint gopls ]; home.sessionPath = [ config.home.sessionVariables.GOBIN "${config.home.homeDirectory}/.local/bin" ]; }