diff --git a/modules/config/networking.nix b/modules/config/networking.nix index 6908996db6c..9e55549ea2e 100644 --- a/modules/config/networking.nix +++ b/modules/config/networking.nix @@ -87,9 +87,8 @@ in } ]; - systemd.units."ip-up.target".text = - '' - [Unit] - Description=Services Requiring IP Connectivity - ''; + # The ‘ip-up’ target is started when we have IP connectivity. So + # services that depend on IP connectivity (like ntpd) should be + # pulled in by this target. + systemd.targets.ip-up.description = "Services Requiring IP Connectivity"; }