From a2b717b3362e2dcd91d9ab83955ab51810b68787 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 21 Jul 2024 20:39:22 -0500 Subject: [PATCH] Add shell.nix --- shell.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..e4bb72b --- /dev/null +++ b/shell.nix @@ -0,0 +1,18 @@ +let + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11"; + pkgs = import nixpkgs { config = {}; overlays = []; }; +in + +pkgs.mkShell { + packages = with pkgs; [ + go + tailwindcss + gnumake + inotify-tools + figlet + ]; + shellHook = '' + # install templ if not already installed + command -v templ > /dev/null || go install github.com/a-h/templ/cmd/templ@latest + ''; +} \ No newline at end of file