builders get a special treatment for dns64

This commit is contained in:
Yureka 2024-07-11 02:05:58 +02:00
parent 329f267b02
commit e6ead602f0

View file

@ -91,7 +91,20 @@ in
deployment.targetHost = "2a01:584:11::1:${toString cfg.num}"; deployment.targetHost = "2a01:584:11::1:${toString cfg.num}";
deployment.tags = [ "builders" ]; deployment.tags = [ "builders" ];
networking.nameservers = lib.mkForce ["2001:4860:4860::6464"]; # todo: other dns64 # Why can't we have nice things? https://bugs.openjdk.org/browse/JDK-8170568
services.coredns = {
enable = true;
config = ''
. {
bind lo
forward . 2001:4860:4860::6464
template ANY A { rcode NOERROR }
}
'';
};
services.resolved.enable = false;
networking.resolvconf.useLocalResolver = true;
bagel.sysadmin.enable = true; bagel.sysadmin.enable = true;