Zero to Nix is your guide to learning Nix and flakes. Created by Determinate Systems.
1,276
stars
1,763
commits
MDX
primary language
Sep 11, 2026
updated
Zero to Nix is your guide to learning Nix and flakes. It was created and is maintained by Determinate Systems.
Make sure that you have Nix and direnv installed, then:
# Activate Nix development environment
direnv allow
To run the site in development mode (with live reload when you make changes):
dev
To run the site in preview mode (with a static web server and no live reload):
preview
# Alternatively
nix run
Then open your browser to http://localhost:3000.
The site has some CI checks that run in GitHub Actions, like link checking. To run the whole CI suite locally:
ci
To ensure that the site can build properly in response to changes:
build
As an alternative, you can run the whole CI suite, which also builds the site.
To ensure that everything is properly formatted:
format
The Zero to Nix site is automatically published on Vercel, which also provides deploy previews for pull requests.
Zero to Nix's "stack" 🥞:
If you happen to use VS Code as your editor, we recommend adding these extensions:
astro-build.astro-vscodeunifiedjs.vscode-mdxbradlc.vscode-tailwindcssesbenp.prettier-vscodevscode.vscode-typescript-nextWe also recommend adding these settings to your local .vscode/settings.json:
{
"[mdx]": {
// By default, this extension overwrites our one-sentence-per-line policy
"editor.formatOnSave": false,
// This is a nice helper for longer sentences
"editor.wordWrapColumn": 100,
"editor.wordWrap": "wordWrapColumn",
},
// Format everything using the Prettier config
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Keep junk out of your search results
"search.exclude": {
"**/.direnv": true,
"**/.git": true,
"**/node_modules": true,
"dist": true,
"package-lock.json": true,
"*.d.ts": true,
"tmp": true,
},
}
(top 30 of 53)
MDX
53.2%
Astro
23.0%
Nix
10.0%
TypeScript
9.4%
CSS
1.2%
Shell
1.0%
Zero to Nix is your guide to learning Nix and flakes. Created by Determinate Systems.
1,276
stars
1,763
commits
MDX
primary language
Sep 11, 2026
updated
Zero to Nix is your guide to learning Nix and flakes. It was created and is maintained by Determinate Systems.
Make sure that you have Nix and direnv installed, then:
# Activate Nix development environment
direnv allow
To run the site in development mode (with live reload when you make changes):
dev
To run the site in preview mode (with a static web server and no live reload):
preview
# Alternatively
nix run
Then open your browser to http://localhost:3000.
The site has some CI checks that run in GitHub Actions, like link checking. To run the whole CI suite locally:
ci
To ensure that the site can build properly in response to changes:
build
As an alternative, you can run the whole CI suite, which also builds the site.
To ensure that everything is properly formatted:
format
The Zero to Nix site is automatically published on Vercel, which also provides deploy previews for pull requests.
Zero to Nix's "stack" 🥞:
If you happen to use VS Code as your editor, we recommend adding these extensions:
astro-build.astro-vscodeunifiedjs.vscode-mdxbradlc.vscode-tailwindcssesbenp.prettier-vscodevscode.vscode-typescript-nextWe also recommend adding these settings to your local .vscode/settings.json:
{
"[mdx]": {
// By default, this extension overwrites our one-sentence-per-line policy
"editor.formatOnSave": false,
// This is a nice helper for longer sentences
"editor.wordWrapColumn": 100,
"editor.wordWrap": "wordWrapColumn",
},
// Format everything using the Prettier config
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Keep junk out of your search results
"search.exclude": {
"**/.direnv": true,
"**/.git": true,
"**/node_modules": true,
"dist": true,
"package-lock.json": true,
"*.d.ts": true,
"tmp": true,
},
}
(top 30 of 53)
MDX
53.2%
Astro
23.0%
Nix
10.0%
TypeScript
9.4%
CSS
1.2%
Shell
1.0%