91 lines
4.2 KiB
YAML
91 lines
4.2 KiB
YAML
uuid:
|
|
- value: 5c2e8f95-6484-42f6-a1e7-63734d1fd405
|
|
langcode:
|
|
- value: en
|
|
type:
|
|
- target_id: daily_email
|
|
target_type: node_type
|
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
|
revision_timestamp:
|
|
- value: '2025-07-17T21:47:05+00:00'
|
|
revision_uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
revision_log: { }
|
|
status:
|
|
- value: true
|
|
uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
title:
|
|
- value: 'Drupal and Nix similarities'
|
|
created:
|
|
- value: '2025-07-16T21:45:59+00:00'
|
|
changed:
|
|
- value: '2025-07-17T21:47:05+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2025/07/16/drupal-and-nix-similarities
|
|
langcode: en
|
|
body:
|
|
- value: |-
|
|
I've been a Drupal Developer since 2008 and have worked on countless Drupal projects as a Freelancer and Consultant, and agency and in-house staff.
|
|
|
|
No two Drupal websites are the same.
|
|
|
|
Every one has its own content types, fields, user roles and other configuration.
|
|
|
|
Each uses a different combination of modules and themes.
|
|
|
|
Some use Layout Builder and some use Paragraphs, Layout Paragraphs or the core Block system.
|
|
|
|
Almost every Drupal website has its own custom theme and a number of custom modules.
|
|
|
|
I've been using Nix and NixOS for three years, and they are similar in this way.
|
|
|
|
A lot of people post their configuration files online for others to read and take inspiration from ([including mine](https://code.oliverdavies.uk/opdavies/nix-config)).
|
|
|
|
From reading a number of these, I think no two Nix configurations are the same either.
|
|
|
|
They range from simple to very complex configurations, some managing multiple devices including personal computers, servers and homelabs - and even mobile phones!
|
|
|
|
Most use flakes, but some use wrappers like flake-utils or flake-parts.
|
|
|
|
## Here's the thing
|
|
|
|
Whilst it can be confusing initially, when joining a Drupal project or reading a Nix configuration, I like to learn how different people solve problems.
|
|
|
|
Because people can solve problems in different ways shows how flexible these tools are.
|
|
|
|
They provide building blocks that people can use to achieve a specific result and build what they need.
|
|
|
|
With tools like this, the possibilities are endless.
|
|
format: markdown
|
|
processed: |
|
|
<p>I've been a Drupal Developer since 2008 and have worked on countless Drupal projects as a Freelancer and Consultant, and agency and in-house staff.</p>
|
|
<p>No two Drupal websites are the same.</p>
|
|
<p>Every one has its own content types, fields, user roles and other configuration.</p>
|
|
<p>Each uses a different combination of modules and themes.</p>
|
|
<p>Some use Layout Builder and some use Paragraphs, Layout Paragraphs or the core Block system.</p>
|
|
<p>Almost every Drupal website has its own custom theme and a number of custom modules.</p>
|
|
<p>I've been using Nix and NixOS for three years, and they are similar in this way.</p>
|
|
<p>A lot of people post their configuration files online for others to read and take inspiration from (<a href="https://code.oliverdavies.uk/opdavies/nix-config">including mine</a>).</p>
|
|
<p>From reading a number of these, I think no two Nix configurations are the same either.</p>
|
|
<p>They range from simple to very complex configurations, some managing multiple devices including personal computers, servers and homelabs - and even mobile phones!</p>
|
|
<p>Most use flakes, but some use wrappers like flake-utils or flake-parts.</p>
|
|
<h2>Here's the thing</h2>
|
|
<p>Whilst it can be confusing initially, when joining a Drupal project or reading a Nix configuration, I like to learn how different people solve problems.</p>
|
|
<p>Because people can solve problems in different ways shows how flexible these tools are.</p>
|
|
<p>They provide building blocks that people can use to achieve a specific result and build what they need.</p>
|
|
<p>With tools like this, the possibilities are endless.</p>
|
|
summary: ''
|
|
field_daily_email_cta:
|
|
- target_type: node
|
|
target_uuid: 20cde1b4-efdc-46a4-a6a4-4fd2264f617e
|