diff --git a/template/tritonshell.nix b/template/tritonshell.nix
index 77505e1..7314481 100644
--- a/template/tritonshell.nix
+++ b/template/tritonshell.nix
@@ -87,8 +87,10 @@ pkgs.devshell.mkShell {
 
   bash = {
     extra = ''
-      source ${self.packages.${system}.triton-docker-env}/bin/triton-docker-env.sh
-      source ${self.packages.${system}.triton-utils}/bin/ttp.sh
+      if [ -z "$TRITON_DONT_SOURCE_PROFILE" ]; then
+        source ${self.packages.${system}.triton-docker-env}/bin/triton-docker-env.sh
+        source ${self.packages.${system}.triton-utils}/bin/ttp.sh
+      fi
       if [ "$(uname)" == "Darwin" ]; then
         source $DEVSHELL_DIR/share/bash-completion/bash_completion
       fi