Don't create an nginx service by default.

This commit is contained in:
r-vdp 2023-05-16 17:27:55 +02:00
parent 8023bf4421
commit ca46aa5ace
No known key found for this signature in database
2 changed files with 31 additions and 30 deletions

View file

@ -1,6 +1,6 @@
{ lib, ... }:
{ config, lib, ... }:
{
systemd.services.nginx = {
systemd.services.nginx = lib.mkIf config.services.nginx.enable {
serviceConfig.DynamicUser = true;
# TODO: can we handle this better?