{ pkgs, ... }: { home.packages = with pkgs; [ go gopls godef gogetdoc gotools golines impl gomodifytags golangci-lint golangci-lint-langserver prettier-plugin-go-template ]; home.sessionPath = [ "$HOME/go/bin" ]; home.sessionVariables.GOTOOLCHAIN = "local"; # use installed go tools programs.emacs.extraPackages = epkgs: (with epkgs; [ go-eldoc go-tag templ-ts-mode ]); programs.neovim.plugins = with pkgs.vimPlugins; [ coc-go ]; programs.fish.shellAbbrs = { gmt = "go mod tidy"; gmd = "go mod download"; }; }