chore: add nix flake and image

This commit is contained in:
technofab 2024-04-24 17:09:10 +02:00
parent a584d787d2
commit 6bd319fbe9
5 changed files with 1090 additions and 0 deletions

8
.envrc Normal file
View file

@ -0,0 +1,8 @@
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
if ! use flake . --impure
then
echo "devenv could not be build. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
fi