Freelock
freelock@drupal.community

Upgrading a Drupal 8 site, and needed PHP7.4 to get it running locally. So I just got that working in Drupal-Flake (https://drupal.org/project/drupal_flake). #drupal #nix

2 days ago
Freelock
freelock@drupal.community
May 12, 2025
Freelock
freelock@drupal.community
May 12, 2025
Freelock
freelock@drupal.community

Looks like MastoFeed.com forget to renew their domain registration. Anybody have a quick easy way to embed a #Mastodon timeline on a website?

May 01, 2025
Freelock
freelock@drupal.community

New blog post: Containerless Dev environments for Drupal development with Nix https://www.freelock.com/blog/john-locke/2025-05/containerless-dev-environments-drupal-development-nix #DrupalCon #Nix

May 01, 2025
Freelock
freelock@drupal.community

Gotta love #NixOS... A #Prometheus update broke a bunch of panes on our #Grafana monitoring screens.

I checked out an older flake.lock and switched to that configuration, and all my metrics are back as they were before!

April 27, 2025
Freelock
freelock@drupal.community

@laird Yeah the metrics in the queries all come up with "Empty query result".

I verified the metrics are still showing up in the target exporters -- but Prometheus seems to be ignoring them?

These metrics in particular:

node_network_transmit_bytes_total
node_filesystem_avail_bytes
node_filesystem_size_bytes
container_memory_usage_bytes

April 27, 2025
Freelock
freelock@drupal.community

So after upgrading #Prometheus from 3.1.0 to 3.3.0 (nixpkgs), suddenly my Grafana dashboard is missing data for several panes related to network traffic and disk usage. I see the underlying metrics are still visible in the node exporter data, but not in Prometheus. Not seeing anything obvious in the change logs -- what am I missing?

April 27, 2025
Freelock
freelock@drupal.community
April 12, 2025
Freelock
freelock@drupal.community

Solved a really thorny, frustrating issue -- a conflict between #Drupal's #ECA module and Inline Entity Form module. https://www.drupal.org/project/eca/issues/3469697 . If you've had trouble adding multiple items to an inline entity form field, this might be why...

April 08, 2025
Freelock
freelock@drupal.community

Made a ton of improvements to https://drupal.org/project/drupal_flake -

- start-config now installs your existing site from configuration
- xdrush triggers an xdebug session from drush
- update-flake makes it easy to get new features in the future
- Composer now visible to PHP, so Project Browser and auto updates work
- Updates to include block to avoid conflicts with other environments

Check it out! In some ways this is easier/faster than #ddev ! #drupal #nix

April 06, 2025
Freelock
freelock@drupal.community

@CheRosach It's missing Snow Crash/Neil Stephenson...

March 29, 2025
Freelock
freelock@drupal.community

💙 I’m speaking at DrupalCon Atlanta! 💙
Join me and 1000+ of Drupal enthusiasts, developers, and industry leaders for an unforgettable experience. Let’s make #DrupalConAtlanta the best one yet!
https://events.drupal.org/atlanta2025

March 16, 2025
Freelock
freelock@drupal.community

Got a #Nix flake for Drupal working -- it downloads, configures, and installs the latest Drupal CMS and runs it in Nginx, MariaDB, PHP-FPM... with 1 single command.

Takes about 3.5 minutes to spin up (at least after a lot has been cached), with 3 minutes of that just the Drupal install.

If you have Nix installed, I'd love some feedback -- you can try it out with

nix run github:freelock/drupal-flake#demo

... especially interested in whether it works on Mac, Windows...

March 11, 2025
Freelock
freelock@drupal.community

Jon Stewart's guest brought up #Matrix today on the Weekly Show podcast - https://youtu.be/jsHoX9ZpA_M?si=uYHyoImNxd05QebL&t=2973 . The whole episode is important for anyone who cares about democracy. Well worth the listen.

March 07, 2025
Freelock
freelock@drupal.community

@Linux_Is_Best @felyashono #Matrix does both encrypted and non-encrypted messaging

March 01, 2025