Drupal: Difference between revisions

m State Directory: Update anchor link
m Database Configuration: Update anchor link
Line 64: Line 64:


=== Database Configuration ===
=== Database Configuration ===
The NixOS implementation of Drupal uses MySQL as the primary database, however you can [https://www.drupal.org/docs/7/creating-custom-modules/howtos/how-to-connect-to-multiple-databases-within-drupal#s-drupal-8 add other databases using settings.php]. Refer to the '''Configuration Using settings.php''' section above for instructions on how to add extra settings to <code>settings.php</code>.
The NixOS implementation of Drupal uses MySQL as the primary database, however you can [https://www.drupal.org/docs/7/creating-custom-modules/howtos/how-to-connect-to-multiple-databases-within-drupal#s-drupal-8 add other databases using settings.php]. Refer to the [[Drupal#Configuration Using settings.php|Configuration Using settings.php]] section above for instructions on how to add extra settings to <code>settings.php</code>.


Using nix, you can configure the database that gets created in NixOS at install time by using this configuration interface:<syntaxhighlight lang="nix">
Using nix, you can configure the database that gets created in NixOS at install time by using this configuration interface:<syntaxhighlight lang="nix">