diff options
Diffstat (limited to '')
| -rw-r--r-- | home/profiles/go.nix (renamed from home/programs/go.nix) | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/home/programs/go.nix b/home/profiles/go.nix index 0ae1ec1..87e7add 100644 --- a/home/programs/go.nix +++ b/home/profiles/go.nix @@ -1,5 +1,11 @@ -{ pkgs, config, ... }: +{ pkgs, ... }: { + home.packages = with pkgs; [ + go-tools # collection of tools, https://github.com/dominikh/go-tools + golangci-lint + gopls + ]; + programs.go = { enable = true; goPath = ".local/share/pkg.go"; @@ -9,16 +15,4 @@ "github.com/fcuny/*" ]; }; - - home.packages = with pkgs; [ - delve - go-tools # collection of tools, https://github.com/dominikh/go-tools - golangci-lint - gopls - ]; - - home.sessionPath = [ - config.home.sessionVariables.GOBIN - "${config.home.homeDirectory}/.local/bin" - ]; } |
