diff --git a/.envrc b/.envrc index a6ee435c9..8472c3197 100644 --- a/.envrc +++ b/.envrc @@ -1,5 +1,7 @@ # shellcheck shell=bash +if [ -f /etc/NIXOS ]; then if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=" fi use flake +fi