feat(networking): prefer IPv6

This commit is contained in:
Felix Schröter 2021-05-26 22:11:26 +02:00
parent 21b716a9e6
commit dfdea60dba
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -34,4 +34,13 @@
systemd.services.dnscrypt-proxy2.serviceConfig = {
StateDirectory = lib.mkForce "dnscrypt-proxy2";
};
# prefer IPv6
environment.etc."gai.conf".text = ''
label ::1/128 0
label ::/0 1
label 2002::/16 2
label ::/96 3
label ::ffff:0:0/96 4
'';
}