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

This commit is contained in:
Fabian Hauser 2024-12-11 15:25:47 +02:00
parent 3f2d427c65
commit 90440c5d95
6 changed files with 60 additions and 32 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