Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .envrc.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

if type nix >/dev/null 2>&1; then
use flake
else
echo "nix is not available, please install Nix or run the environment manually."
fi

# vim: syntax=bash
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ dist
*.tfvars.json

.direnv
.envrc

# nix-build output
result
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ nix-shell -p "(with import <nixpkgs> {}; callPackage (builtins.fetchTarball http

## Creating a new project using this repo

First, copy (& optionally customize) the `.envrc.example` file to `.envrc`!

Run `scaf myproject`, answer all the questions, and you'll have your new
project!

Expand Down