Add shell.nix
This commit is contained in:
parent
139bb2e5b1
commit
a2b717b336
18
shell.nix
Normal file
18
shell.nix
Normal file
@ -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
|
||||||
|
'';
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user