For the common languages and stacks I write code in
- go
- go-pulumi
Use # at the end of the nix flake init
command to get different templates
Current directory
nix flake init -t github:tonybutt/nixos-templates#go
or with a directory you want to create
nix flake new -t github:tonybutt/nixos-templates#go ./myApp
git init
# Nix is git aware so you need to stage files for nix to be able to see them.
git add -A
If you are using direnv
cd myApp
direnv allow .
otherwise
nix develop
# If not using bash use the below command to launch a development shell
# nix develop -c $SHELL