golang: (re-)create basic development environment
Alan Pearce alan@alanpearce.eu
Sun, 14 Apr 2024 18:19:49 +0200
2 files changed, 13 insertions(+), 14 deletions(-)
A user/settings/development/golang.nix
@@ -0,0 +1,13 @@+{ pkgs, ... }: { + home.packages = with pkgs; [ + go + gopls + gotools + ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + go-eldoc + ]); + programs.neovim.plugins = with pkgs.vimPlugins; [ + coc-go + ]; +}
D user/settings/golang.nix
@@ -1,14 +0,0 @@-{ config -, pkgs -, ... -}: { - home.packages = with pkgs; [ - go - go-langserver - goimports - gotools - ]; - programs.emacs.extraPackages = epkgs: (with epkgs; [ - go-mode - ]); -}