initial commit

This commit is contained in:
2026-06-09 10:47:39 -04:00
commit 2cedcf448c
10 changed files with 670 additions and 0 deletions

33
flake.nix Normal file
View File

@@ -0,0 +1,33 @@
{
description = "Development Environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ self
, nixpkgs
, flake-utils
,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
go
gopls
golangci-lint
];
shellHook = ''
export PATH=$PATH:~/go/bin
'';
};
}
);
}