Make cyprianspitz ip static
All checks were successful
CI / build (push) Successful in 2m52s

This commit is contained in:
Fabian Hauser 2024-12-11 15:25:47 +02:00
parent 3f2d427c65
commit 0ec9c63058
3 changed files with 26 additions and 22 deletions

View file

@ -54,7 +54,14 @@ in
dhcp-authoritative = true;
};
};
systemd.services.dnsmasq.bindsTo = [ "network-addresses-vms-nat.service" ];
systemd.services.dnsmasq =
let
vmsNat = [ "network-addresses-vms-nat.service" ];
in
{
bindsTo = vmsNat;
after = vmsNat;
};
networking.firewall.interfaces.vms-nat = {
allowedUDPPorts = [
53