system-manager/nix/modules/upstream/nixpkgs/nginx.nix
r-vdp db9ba03678 Introduce an intermediate target for systemd services.
Restarting the active targets seems to cause issues on Ubuntu,
restarting certain targets causes the display manager to exit.
2023-04-27 00:21:59 +02:00

14 lines
265 B
Nix

{ lib, ... }:
{
systemd.services.nginx = {
serviceConfig.DynamicUser = true;
# TODO: can we handle this better?
wantedBy = lib.mkForce [
"system-manager.target"
];
};
# Disable this for now
services.logrotate.settings.nginx = { };
}