forked from CCCHH/nix-infra
Fix clone step failing, because git.hamburg.ccc.de could not be resolved
This commit is contained in:
parent
f5432bd682
commit
be7f6e4917
|
@ -10,4 +10,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.interfaces."podman0" = {
|
||||||
|
# allowedUDPPorts = [ 53 ] gets already set by virtualisation.podman.defaultNetwork.settings.dns_enabled, but set it here explicitly anyway.
|
||||||
|
allowedUDPPorts = [ 53 ];
|
||||||
|
# For git.hamburg.ccc.de to resolve in the clone step for example, allowedTCPPorts also needs to be set to allow DNS.
|
||||||
|
allowedTCPPorts = [ 53 ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue