diff --git a/nixos/modules/services/web-apps/drupal.nix b/nixos/modules/services/web-apps/drupal.nix index 3d6726c7393b..8e4b1bf1dc0d 100644 --- a/nixos/modules/services/web-apps/drupal.nix +++ b/nixos/modules/services/web-apps/drupal.nix @@ -50,7 +50,7 @@ let runHook postInstall ''; - postInstallPhase = '' + postInstall = '' ln -s ${cfg.filesDir} $out/share/php/drupal/sites/default/files ln -s ${cfg.stateDir}/sites/default/settings.php $out/share/php/drupal/sites/default/settings.php ln -s ${cfg.modulesDir} $out/share/php/drupal/modules @@ -91,14 +91,14 @@ let type = types.path; default = "/var/lib/drupal/${name}/modules"; defaultText = "/var/lib/drupal//modules"; - description = "The location of Drupal modules."; + description = "The location for users to install Drupal modules."; }; themesDir = mkOption { type = types.path; default = "/var/lib/drupal/${name}/themes"; - defaultText = "/varlib/drupal//themes"; - description = "The location of Drupal themes."; + defaultText = "/var/lib/drupal//themes"; + description = "The location for users to install Drupal themes."; }; phpOptions = mkOption {