summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system/boot/resolved.nix
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2024-04-07 20:33:13 -0400
committerWill Fancher <elvishjerricco@gmail.com>2024-05-21 02:41:22 -0400
commit154459858f661487e543ce5d1a2a3d37b9638da6 (patch)
tree372b92bc3bb7da5d121d3d057db862a218890748 /nixos/modules/system/boot/resolved.nix
parent146bffe5aa6c6f8ea7d280ca85f4cbf239fb9751 (diff)
nixos/systemd-resolved: Should be wanted by sysinit.target
As per its [Install] section upstream
Diffstat (limited to 'nixos/modules/system/boot/resolved.nix')
-rw-r--r--nixos/modules/system/boot/resolved.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/resolved.nix b/nixos/modules/system/boot/resolved.nix
index 6006ed7894c9..2c9a7ddee4f6 100644
--- a/nixos/modules/system/boot/resolved.nix
+++ b/nixos/modules/system/boot/resolved.nix
@@ -149,7 +149,7 @@ in
];
systemd.services.systemd-resolved = {
- wantedBy = [ "multi-user.target" ];
+ wantedBy = [ "sysinit.target" ];
aliases = [ "dbus-org.freedesktop.resolve1.service" ];
restartTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
};