Examples of nix flake files for use with nix develop
Find a file
2025-03-09 14:48:36 -07:00
aws-cdk
aws-rust-lambda lock down hash to avoid NAR hash mismatch 2025-03-09 14:48:36 -07:00
hugo
node
notmuch add notmuch 2024-12-19 12:45:55 -08:00
python
rust allow https stuff 2024-11-02 20:45:41 -07:00
wrangler
LICENSE
README.md

Various examples for different nix flakes, useful for nix develop

Usage

Several options for using these flakes:

  1. Copy the flake.nix file locally, use nix develop
  2. Use in place with nix develop. For example, for hugo:
$ nix develop https://git.lerch.org/lobo/nix-flake-examples/archive/master.tar.gz?dir=/hugo
  1. Use with devenv. Again, hugo example. Add this to .envrc:
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
  source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi

use flake 'https://git.lerch.org/lobo/nix-flake-examples/archive/master.tar.gz?dir=/hugo'