Drupal Flake Demo Creates New Drupal Site in 133 Seconds
Developer John Locke, founder of Freelock, demonstrated a Nix-based Drupal Flake setup that created a new Drupal site and reached its login screen in 133 seconds. The 1 August 2026 blog post presents the setup as a response to difficulties managing multiple Drupal core branches, contributed-module repositories and local testing when coding agents are involved. John describes Drupal Flake as an alternative local development model that exposes project tools directly in the shell rather than running them inside Docker containers.
Drupal Flake uses Nix flakes to define development tools and Direnv to activate the environment automatically when configured. Process Compose starts services including MariaDB, PHP-FPM and Nginx, while separate projects can run simultaneously on different HTTP ports. John notes that Nix and Direnv were already installed for the demonstration and that most Nix and Composer packages were cached, so a cold setup would take longer.
The approach is aimed at contributors who need disposable environments for different Drupal branches or contributed projects without maintaining a separate container stack for every checkout. John contrasts this with DDEV, which the post describes as a widely used Drupal local-development option but one that places project commands and services inside Docker containers. The demonstration therefore presents a different trade-off: direct shell access and reusable package caches in exchange for adopting Nix and its flake workflow.


