diff --git a/templates/astro/.gitignore.twig b/templates/astro/.gitignore.twig index ef8f936..5a3a420 100644 --- a/templates/astro/.gitignore.twig +++ b/templates/astro/.gitignore.twig @@ -11,6 +11,10 @@ pnpm-debug.log* yarn-debug.log* yarn-error.log* +{% if flake is defined %} +.dir-env/ +{% endif %} + {% for path in git.ignore %} {{ path }} {% endfor %} diff --git a/templates/drupal/.gitignore.twig b/templates/drupal/.gitignore.twig index cdc1fb2..d9edb98 100644 --- a/templates/drupal/.gitignore.twig +++ b/templates/drupal/.gitignore.twig @@ -41,6 +41,10 @@ vendor/ docker-compose.override.yaml {% endif %} +{% if flake is defined %} +.dir-env/ +{% endif %} + {% for path in git.ignore %} {{ path }} {% endfor %} diff --git a/templates/fractal/.gitignore.twig b/templates/fractal/.gitignore.twig index 679e7a9..62a6f95 100644 --- a/templates/fractal/.gitignore.twig +++ b/templates/fractal/.gitignore.twig @@ -8,6 +8,10 @@ node_modules docker-compose.override.yaml {% endif %} +{% if flake is defined %} +.dir-env/ +{% endif %} + {% for path in git.ignore %} {{ path }} {% endfor %} diff --git a/templates/terraform/.gitignore.twig b/templates/terraform/.gitignore.twig index 520ccdb..3754a61 100644 --- a/templates/terraform/.gitignore.twig +++ b/templates/terraform/.gitignore.twig @@ -44,6 +44,10 @@ terraform.rc # End of https://www.toptal.com/developers/gitignore/api/terraform +{% if flake is defined %} +.dir-env/ +{% endif %} + {% for path in git.ignore %} {{ path }} {% endfor %}