{"repo":"DeterminateSystems/zero-to-nix","free":true,"listed":false,"github":"https://github.com/DeterminateSystems/zero-to-nix","clone":"git clone https://github.com/DeterminateSystems/zero-to-nix.git","description":"Zero to Nix is your guide to learning Nix and flakes. Created by Determinate Systems.","language":"MDX","stars":1267,"topics":["nix","nixos","nixlang","documentation","flakes"],"license":null,"category":"docs-static-sites","readme_excerpt":"Zero to Nix [Zero to Nix][site] is your guide to learning [Nix] and [flakes]. It was created and is maintained by [Determinate Systems][detsys]. Setup Make sure that you have Nix and [direnv] installed, then: Developing the site Run locally To run the site in development mode (with live reload when you make changes): To run the site in preview mode (with a static web server and no live reload): Then open your browser to http://localhost:3000. Run checks locally The site has some [CI checks][ci] that run in [GitHub Actions][gha], like link checking. To run the whole CI suite locally: Build locally To ensure that the site can build properly in response to changes: As an alternative, you can run the whole CI suite, which also builds the site. Format code To ensure that everything is properly formatted: Publishing The Zero to Nix site is automatically published on [Vercel], which also provides deploy previews for pull requests. Technologies Zero to Nix's \"stack\" 🥞: - [Astro] for content management and site generation - [MDX] for content - [Tailwind] for CSS Suggested VS Code settings If you happen to use VS Code as your editor, we recommend adding these extensions: - [ astro-build.astro-vscode ][vsc-astro] - [ unifiedjs.vscode-mdx ][vsc-mdx] - [ bradlc.vscode-tailwindcss ][vsc-tailwind] - [ esbenp.prettier-vscode ][vsc-prettier] - [ vscode.vscode-typescript-next ][vsc-tsc] We also recommend adding these settings to your local .vscode/settings.json : [astro]: https://astro.build ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DeterminateSystems","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DeterminateSystems/zero-to-nix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}