diff --git a/src/Action/CreateListOfFilesToGenerate.php b/src/Action/CreateListOfFilesToGenerate.php index c815fce..90cd035 100644 --- a/src/Action/CreateListOfFilesToGenerate.php +++ b/src/Action/CreateListOfFilesToGenerate.php @@ -34,6 +34,7 @@ final class CreateListOfFilesToGenerate } if ($isFlake) { + $filesToGenerate->push(new TemplateFile(data: 'common/envrc', name: '.envrc')); $filesToGenerate->push(new TemplateFile(data: 'common/flake.nix', name: 'flake.nix')); } diff --git a/templates/common/envrc.twig b/templates/common/envrc.twig new file mode 100644 index 0000000..cf8c94f --- /dev/null +++ b/templates/common/envrc.twig @@ -0,0 +1,3 @@ +# {{ managedText }} + +use flake