home: go: add more tools

This commit is contained in:
Guanran Wang 2023-12-29 10:49:00 +08:00
parent 8e0cd38d5a
commit 671a81a366
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -4,9 +4,11 @@
... ...
}: { }: {
programs.go.enable = true; programs.go.enable = true;
home.packages = with pkgs; [
### LSP gopls # lsp
home.packages = with pkgs; [gopls]; delve # debugger
go-tools # linter and static analysis
];
### VSCode ### VSCode
programs.vscode.extensions = with pkgs.vscode-extensions; [golang.go]; programs.vscode.extensions = with pkgs.vscode-extensions; [golang.go];