1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

nixos/resolved: Include dbus alias of resolved unit

This will make dbus socket activation for it work

When `systemd-resolved` is restarted; this would lead to unavailability
of DNS lookups.  You're supposed to use DBUS socket activation to buffer
resolved requests; such that restarts happen without downtime
This commit is contained in:
Arian van Putten 2020-05-08 14:15:41 +02:00
parent ee032804f8
commit 7fe539f799

View file

@ -144,6 +144,7 @@ in
systemd.additionalUpstreamSystemUnits = [
"systemd-resolved.service"
"dbus-org.freedesktop.resolve1.service"
];
systemd.services.systemd-resolved = {