hostapd: try to fix lost IP address
authorJulien Moutinho <julm+sourcephile-nix@sourcephile.fr>
Thu, 19 May 2022 09:28:02 +0000 (11:28 +0200)
committerJulien Moutinho <julm+sourcephile-nix@sourcephile.fr>
Thu, 19 May 2022 09:30:28 +0000 (11:30 +0200)
hosts/losurdo/networking/wireless.nix

index 0c962505085b08908bbdfbd116475f3d4bc77aa7..46b4ce2755432a1139234c0b05144376c02774b0 100644 (file)
@@ -10,6 +10,7 @@ networking.interfaces.${iface} = {
 };
 # Fix to set the address before starting dhcpd4.service
 systemd.services."network-addresses-${iface}" = {
+  after = [ "hostapd.service"];
   bindsTo = [ "hostapd.service"];
   wantedBy = ["network.target"];
 };