Initial Template

This commit is contained in:
Mona Mayrhofer 2024-10-19 21:05:52 +02:00
commit 35342d6c2d
No known key found for this signature in database
GPG key ID: 5C83114FA383C6A0
23 changed files with 4945 additions and 0 deletions

13
.envrc Normal file
View file

@ -0,0 +1,13 @@
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
fi
watch_file flake.nix
watch_file flake.lock
DEVENV_ROOT_FILE="$(mktemp)"
printf %s "$PWD" > "$DEVENV_ROOT_FILE"
if ! use flake . --override-input devenv-root "file+file://$DEVENV_ROOT_FILE"
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
fi