Restarting the active targets seems to cause issues on Ubuntu, restarting certain targets causes the display manager to exit.
14 lines
265 B
Nix
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 = { };
|
|
}
|