Examples of nix flake files for use with nix develop
Go to file
2024-12-19 12:45:55 -08:00
aws-cdk update to node 22 2024-11-02 13:53:29 -07:00
aws-rust-lambda add AWS Lambda/Rust, utilizing rust flake as base 2024-11-06 10:26:41 -08:00
hugo flake.lock all the things 2024-11-01 14:30:28 -07:00
node update to node 22 2024-11-02 13:53:29 -07:00
notmuch add notmuch 2024-12-19 12:45:55 -08:00
python flake.lock all the things 2024-11-01 14:30:28 -07:00
rust allow https stuff 2024-11-02 20:45:41 -07:00
wrangler update to node 22 2024-11-02 13:53:29 -07:00
LICENSE add license/readme 2023-12-19 13:42:08 -08:00
README.md add more samples and update README 2024-11-01 14:21:02 -07:00

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'