Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 701 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 701 Bytes

Nix Flake Template (Default)

All of this information is also included in the README.md

Initialize using

nix flake init --template "github:nulladmin1/nix-flake-templates#bash"

OR

nix flake init --template "github:nulladmin1/nix-flake-templates#sh"

This is the structure of the template:

📦 bash
├── ⚙️ .envrc
├── 📃 README.md
├── ❄️ flake.nix
└── 🐚 hello.sh

Run using Nix

nix run

Go into Development Shell

nix develop

(Optional) Format flake.nix using Alejandra

nix fmt