My Nix Configuration
at main 545 B view raw
1if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then 2 source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=" 3fi 4 5# uncomment all commented lines once uv venv has been set up 6 7# if test -n "$FISH_VERSION"; then 8# source ./.venv/bin/activate.fish 9# elif test -n "$BASH_VERSION"; then 10# source ./.venv/bin/activate 11# elif test -n "$NU_VERSION"; then 12# source ./.venv/bin/activate.nu 13# fi 14 15# export UV_PYTHON=${PWD}/.venv/bin/python3 16 17use flake