diff --git a/.envrc b/.envrc index 57b7733..e66afc9 100644 --- a/.envrc +++ b/.envrc @@ -1,4 +1,5 @@ +# shellcheck shell=bash strict_env source ./direnvrc -watch_file direnvrc *.nix +watch_file direnvrc ./*.nix use flake diff --git a/templates/flake/.envrc b/templates/flake/.envrc index 9ee556b..c9fb52a 100644 --- a/templates/flake/.envrc +++ b/templates/flake/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash if ! has nix_direnv_version || ! nix_direnv_version 3.0.5; then source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.5/direnvrc" "sha256-RuwIS+QKFj/T9M2TFXScjBsLR6V3A17YVoEW/Q6AZ1w=" fi