Add go dev shell

This commit is contained in:
Oliver Davies 2025-07-30 01:36:46 +01:00
parent c740cf6d5a
commit d46fb8a767
2 changed files with 17 additions and 0 deletions

16
modules/go.nix Normal file
View file

@ -0,0 +1,16 @@
{
perSystem =
{ pkgs, ... }:
{
devShells.go = pkgs.mkShell {
packages = with pkgs; [
go
gopls
];
shellHook = ''
go version
'';
};
};
}