Add .envrc for Nix environment setup

This commit is contained in:
HendrikRauh 2026-01-09 23:13:28 +01:00
parent bf19ace3e9
commit 5f623c0594
5 changed files with 244 additions and 0 deletions

14
.envrc Normal file
View file

@ -0,0 +1,14 @@
# Check if nix is available
if command -v nix &> /dev/null; then
use flake
echo "✅ Nix development environment loaded"
else
# Nix is not available - show instructions for non-Nix users
echo "⚠️ Nix not detected. Please ensure the following are installed manually:"
echo " - Java JDK 17"
echo " - Python 3 with invoke package"
echo " - Android SDK"
echo " - FVM (Flutter Version Management)"
echo "💡 To use Nix: Install from https://nixos.org/download.html"
fi