all repos — nixfiles @ e909db43607e6bd85ac6b5937eba42e9f6d7a884

System and user configuration, managed by nix and home-manager

golang: (re-)create basic development environment

Alan Pearce
commit

e909db43607e6bd85ac6b5937eba42e9f6d7a884

parent

3fbe021a251823a6c0228609c0b5ef2d90681af5

2 files changed, 13 insertions(+), 14 deletions(-)

jump to
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 - ]); -}