Skip to content

Commit

Permalink
nixos/resolved: Include dbus alias of resolved unit
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arianvp committed May 8, 2020
1 parent ee03280 commit 7fe539f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/system/boot/resolved.nix
Expand Up @@ -144,6 +144,7 @@ in

systemd.additionalUpstreamSystemUnits = [
"systemd-resolved.service"
"dbus-org.freedesktop.resolve1.service"
];

systemd.services.systemd-resolved = {
Expand Down

0 comments on commit 7fe539f

Please sign in to comment.