nix: +homeModules.golang

This commit is contained in:
Primrose 2024-08-12 14:27:20 +02:00
parent 1d5b1a30b0
commit 0f30a646e2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
programs.go = {
enable = true;
goPath = ".go";
};
home.packages = [
pkgs.go
pkgs.gopls
pkgs.golangci-lint
pkgs.golangci-lint-langserver
pkgs.gofumpt
];
}