summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Kraut <14234815+rafaelkr@users.noreply.github.com>2024-04-22 12:21:04 +0200
committerRafael Kraut <14234815+RafaelKr@users.noreply.github.com>2024-04-22 12:40:43 +0200
commitebfbaaf2817c95fa1540460f1db35d31c576c902 (patch)
tree600ef0c69d36d995d4cd489e58ba31641a51bdf2
parent8a3f95b79ba3083cfff90752296ef8a52a6bec9a (diff)
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.
-rw-r--r--nixos/doc/manual/configuration/abstractions.section.md2
1 files changed, 0 insertions, 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;
};
};
}