diff --git a/modules/services/networking/hostapd.nix b/modules/services/networking/hostapd.nix index ca17c92ddc0f..4edea12b6be8 100644 --- a/modules/services/networking/hostapd.nix +++ b/modules/services/networking/hostapd.nix @@ -150,6 +150,7 @@ in { description = "hostapd wireless AP"; path = [ pkgs.hostapd ]; + wantedBy = [ "network.target" ]; after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service"];