nixos/httpd: mark extraSubservices option as deprecated
This commit is contained in:
parent
505df09d50
commit
0fd69629c7
@ -149,9 +149,15 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Several of the apache subservices have been replaced with full NixOS
|
The option <option>services.httpd.extraSubservices</option> has been
|
||||||
modules including LimeSurvey, WordPress, and Zabbix.
|
marked as deprecated. You may still use this feature, but it will be
|
||||||
These modules can be enabled using the <option>services.limesurvey.enable</option>,
|
removed in a future release of NixOS. You are encouraged to convert any
|
||||||
|
httpd subservices you may have written to a full NixOS module.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Most of the httpd subservices packaged with NixOS have been replaced with
|
||||||
|
full NixOS modules including LimeSurvey, WordPress, and Zabbix. These
|
||||||
|
modules can be enabled using the <option>services.limesurvey.enable</option>,
|
||||||
<option>services.wordpress.enable</option>, and <option>services.zabbixWeb.enable</option> options.
|
<option>services.wordpress.enable</option>, and <option>services.zabbixWeb.enable</option> options.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -637,6 +637,8 @@ in
|
|||||||
message = "SSL is enabled for httpd, but sslServerCert and/or sslServerKey haven't been specified."; }
|
message = "SSL is enabled for httpd, but sslServerCert and/or sslServerKey haven't been specified."; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
warnings = map (cfg: "apache-httpd's extraSubservices option is deprecated. Most existing subservices have been ported to the NixOS module system. Please update your configuration accordingly.") (lib.filter (cfg: cfg.extraSubservices != []) allHosts);
|
||||||
|
|
||||||
users.users = optionalAttrs (mainCfg.user == "wwwrun") (singleton
|
users.users = optionalAttrs (mainCfg.user == "wwwrun") (singleton
|
||||||
{ name = "wwwrun";
|
{ name = "wwwrun";
|
||||||
group = mainCfg.group;
|
group = mainCfg.group;
|
||||||
|
Loading…
Reference in New Issue
Block a user