Direnv integration for Rensa Nix
Find a file
2025-08-21 13:21:54 +02:00
direnvrc fix: PRJ_ROOT correctly points to project root, not state dir 2025-08-21 13:21:54 +02:00
README.md feat: add config variables and PRJ compat 2025-07-18 16:54:51 +02:00

Rensa Direnv Integration

Usage

  1. Use latest release/tag: Latest Release
  2. Get hash for release:
    direnv fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/<version>/direnvrc
    
  3. Add this to your .envrc:
    # configure rensa here if needed, like:
    # REN_DO_WATCH=false
    # etc.
    source $(fetchurl https://gitlab.com/rensa-nix/direnv/-/raw/<version>/direnvrc <hash>)
    use ren //repo/shells/default
    

Configuration

See direnvrc at the top.

Formatting & Linting

shfmt -w -i 2 direnvrc
shellcheck direnvrc