From e909db43607e6bd85ac6b5937eba42e9f6d7a884 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 14 Apr 2024 18:19:49 +0200 Subject: golang: (re-)create basic development environment --- user/settings/development/golang.nix | 13 +++++++++++++ user/settings/golang.nix | 14 -------------- 2 files changed, 13 insertions(+), 14 deletions(-) create mode 100644 user/settings/development/golang.nix delete mode 100644 user/settings/golang.nix 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 + ]; +} diff --git a/user/settings/golang.nix b/user/settings/golang.nix deleted file mode 100644 index a07b7559..00000000 --- a/user/settings/golang.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ config -, pkgs -, ... -}: { - home.packages = with pkgs; [ - go - go-langserver - goimports - gotools - ]; - programs.emacs.extraPackages = epkgs: (with epkgs; [ - go-mode - ]); -} -- cgit 1.4.1