summary refs log tree commit diff stats
path: root/user/settings/development
diff options
context:
space:
mode:
authorAlan Pearce2024-04-14 18:19:49 +0200
committerAlan Pearce2024-04-14 18:19:49 +0200
commite909db43607e6bd85ac6b5937eba42e9f6d7a884 (patch)
tree7b999ac7372a45d011b1f211433c5a1080604b26 /user/settings/development
parent3fbe021a251823a6c0228609c0b5ef2d90681af5 (diff)
downloadnixfiles-e909db43607e6bd85ac6b5937eba42e9f6d7a884.tar.lz
nixfiles-e909db43607e6bd85ac6b5937eba42e9f6d7a884.tar.zst
nixfiles-e909db43607e6bd85ac6b5937eba42e9f6d7a884.zip
golang: (re-)create basic development environment
Diffstat (limited to 'user/settings/development')
-rw-r--r--user/settings/development/golang.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/settings/development/golang.nix b/user/settings/development/golang.nix
new file mode 100644
index 00000000..ccacb580
--- /dev/null
+++ b/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
+  ];
+}