about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorArian van Putten <arian.vanputten@gmail.com>2020-05-08 14:15:41 +0200
committerArian van Putten <arian.vanputten@gmail.com>2020-05-08 14:21:25 +0200
commit7fe539f79900efb6b8b6265ade11fdab460ca1da (patch)
tree58a885e1e78aa545ea11c262b70a94750b119035 /nixos/modules/system
parentee032804f859c45817d971046607765121b38ab5 (diff)
downloadnixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.tar
nixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.tar.gz
nixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.tar.bz2
nixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.tar.lz
nixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.tar.xz
nixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.tar.zst
nixlib-7fe539f79900efb6b8b6265ade11fdab460ca1da.zip
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
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/resolved.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/resolved.nix b/nixos/modules/system/boot/resolved.nix
index b7aaef575ac1..7ad643130a85 100644
--- a/nixos/modules/system/boot/resolved.nix
+++ b/nixos/modules/system/boot/resolved.nix
@@ -144,6 +144,7 @@ in
 
     systemd.additionalUpstreamSystemUnits = [
       "systemd-resolved.service"
+      "dbus-org.freedesktop.resolve1.service"
     ];
 
     systemd.services.systemd-resolved = {