As you yourself have noticed, dirtree is not really the right tool for this purpose. One possibility is to use TikZ's forest, as Alan pointed out in his comment. If you prefer the input structure of LaTeX lists, you could combine enumitem and TikZ to get something like this:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage{tikz}
\makeatletter
\newlist{treelist}{itemize}{5}
\setlist[treelist]{label=\treelist@label}
\tikzset{treelist line/.style={thick, line cap=round, rounded corners}}
\def\treelist@label{%
\begin{tikzpicture}[remember picture, baseline={([yshift=-.6ex] treelist-bullet-\the\enit@depth.center)}]
\draw [treelist line] (0, 0) -- node (treelist-bullet-\the\enit@depth) {} ++(.5em, 0);
\end{tikzpicture}%
\ifnum\enit@depth>1
\tikz[remember picture, overlay] \draw [treelist line] (treelist-bullet-\the\numexpr\enit@depth-1\relax.center) |- (treelist-bullet-\the\enit@depth.center);%
\fi
}
\makeatother
\begin{document}
\begin{treelist}
\item
Gas ideal (partículas idénticas que no interactúan, i.e.~la energía no tiene términos cruzados).
\begin{treelist}
\item
Fermiones.
\begin{treelist}
\item
Límite de gas no degenerado.
Corresponde a temperaturas muy altas y densidades muy bajas, el resultado es el gas ideal clásico.
\item
Límite de gas degenerado.
Es lo opuesto, temperaturas bajas y densidades altas.
Aparece Pauli con su principio de exclusión.
\begin{treelist}
\item
Enanas blancas.
\end{treelist}
\end{treelist}
\item
Bosones.
\begin{treelist}
\item
Límite de gas no degenerado.
Corresponde a temperaturas muy altas y densidades muy bajas, el resultado es el gas ideal clásico.
\begin{treelist}
\item
Gas de fotones.
\item
Gas de fonones.
\end{treelist}
\item
Límite de gas degenerado.
Básicamente es un condensado de Bose-Einstein.
\begin{treelist}
\item
Superfluidos.
\item
Superconductores.
\end{treelist}
\end{treelist}
\end{treelist}
\item
Otros temas que no sean gas ideal. No vimos nada, creo.
\end{treelist}
\end{document}

The 5 in \newlist{treelist}{itemize}{5} sets the maximum list depth. If you need more than five levels, just increase this number. If you want to further customize the appearance of these lists, you should have a look at the documentations of enumitem and TikZ.