1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ pkgs, ... }: { home.packages = with pkgs; [ go gopls godef gogetdoc gotools golines golangci-lint golangci-lint-langserver nodePackages.prettier-plugin-go-template ]; programs.emacs.extraPackages = epkgs: (with epkgs; [ go-eldoc ]); programs.neovim.plugins = with pkgs.vimPlugins; [ coc-go ]; }