services.httpd.user
User account under which httpd children processes run.
If you require the main httpd process to run as
root add the following configuration:
systemd.services.httpd.serviceConfig.User = lib.mkForce "root";
- Type
string- Default
"wwwrun"- Declared
- <nixpkgs/nixos/modules/services/web-servers/apache-httpd/default.nix>