nix-dot-dev / getting-started-devenv-template

Based on nix.dev tutorials, repository template to get you started with Nix.
https://nix.dev
473 stars 27 forks source link

Opinionated Nix repository template

Based on devenv.sh and Nix basics tutorial (1-2 hour primer), this is a simple to get started.

Getting started

  1. Install Nix and devenv
  2. Follow tutorial for creating a binary cache
  3. Replace nix-getting-started-template in .github/workflows/test.yml with the name of your binary cache

Using the project

Follow direnv setup and run direnv allow.