From ebfbaaf2817c95fa1540460f1db35d31c576c902 Mon Sep 17 00:00:00 2001 From: Rafael Kraut <14234815+rafaelkr@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:21:04 +0200 Subject: [PATCH] doc: remove discouraged enablePHP config from abstractions example In the initial configuration the enablePHP config option is present. In the following abstracted example the commonConfig doesn't include it anymore. Previous PRs #88505 and #284906 added the enablePHP config option to the commonConfig. @aanderse commented in https://github.com/NixOS/nixpkgs/pull/88505#issuecomment-632575200 the usage of enablePHP shouldn't be encouraged, `services.phpfpm` should be preferred whenever possible. So we remove the enablePHP config from theses examples. --- nixos/doc/manual/configuration/abstractions.section.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/doc/manual/configuration/abstractions.section.md b/nixos/doc/manual/configuration/abstractions.section.md index 5bc44aa72245..8e7f4d80fbc6 100644 --- a/nixos/doc/manual/configuration/abstractions.section.md +++ b/nixos/doc/manual/configuration/abstractions.section.md @@ -10,14 +10,12 @@ If you find yourself repeating yourself over and over, it’s time to abstract. adminAddr = "alice@example.org"; forceSSL = true; enableACME = true; - enablePHP = true; }; "wiki.example.org" = { documentRoot = "/webroot/wiki.example.org"; adminAddr = "alice@example.org"; forceSSL = true; enableACME = true; - enablePHP = true; }; }; }