Source code + assets for pluie.me
1# only run some commands if nix is installed
2nix="$(command -v nix)"
3
4if ! has nix_direnv_version || ! nix_direnv_version 2.2.1 && [ -n "$nix" ] ; then
5 source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
6fi
7
8[ -n "$nix" ] && use flake