init: adding pocketbase as a framework

This commit is contained in:
efim
2023-10-06 05:34:15 +00:00
commit 8c255ed812
9 changed files with 508 additions and 0 deletions

22
flake.nix Normal file
View File

@@ -0,0 +1,22 @@
{
description = "going to look at the pocketbase apis";
outputs = { self, nixpkgs }: {
devShell.x86_64-linux = let pkgs = nixpkgs.legacyPackages.x86_64-linux;
in pkgs.mkShell {
buildInputs = [
pkgs.go
pkgs.wgo # for restart of project
pkgs.semgrep
pkgs.gopls
pkgs.nodePackages.tailwindcss
pkgs.nodePackages.prettier
];
shellHook = ''
export GOPATH=$PWD/.go
export PATH=$GOPATH/bin:$PATH
'';
};
};
}