diff options
author | Franck Cuny <franck@fcuny.net> | 2023-04-15 13:48:27 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-04-15 13:48:27 -0700 |
commit | 486c75059c5f007a701a8e0cdea7f79a3491bda5 (patch) | |
tree | 8398b618927ddbc59314343c1772892c47b52582 | |
parent | hosts/carmel: don't release DHCP lease on wan interface (diff) | |
download | world-486c75059c5f007a701a8e0cdea7f79a3491bda5.tar.gz |
hosts/carmel: start dnsmasq once network interfaces are online
Diffstat (limited to '')
-rw-r--r-- | hosts/carmel/services.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/carmel/services.nix b/hosts/carmel/services.nix index 57033dc..7a1d833 100644 --- a/hosts/carmel/services.nix +++ b/hosts/carmel/services.nix @@ -55,6 +55,13 @@ ''; }; + # dnsmasq needs the interfaces to be online + # https://serverfault.com/a/907603 + systemd.services.dnsmasq = { + after = [ "network-online.target" "network.target" ]; + wants = [ "network-online.target" ]; + }; + # DNS / DHCPv4 / DHCPv6 networking.firewall.allowedUDPPorts = [ 53 67 547 ]; |