diff --git a/templates/php/flake.nix b/templates/php/flake.nix index 2275707..0a5c2c5 100644 --- a/templates/php/flake.nix +++ b/templates/php/flake.nix @@ -58,6 +58,14 @@ treefmt = { # Used to find the project root projectRootFile = "flake.nix"; + settings.global.excludes = [ + ".direnv/**" + ".jj/**" + ".env" + ".envrc" + ".env.local" + ]; + # Format nix files programs.nixpkgs-fmt.enable = true;