networking: prefer ipv4 over ipv6
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
a0b9cde065
commit
7cb1b981ca
1 changed files with 5 additions and 0 deletions
|
@ -88,6 +88,11 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
# https://wiki.archlinux.org/title/IPv6#Prefer_IPv4_over_IPv6
|
||||
environment.etc."gai.conf".text = ''
|
||||
precedence ::ffff:0:0/96 100
|
||||
'';
|
||||
|
||||
#!! Override nsswitch.conf resolution order
|
||||
#!! nss-resolve blocks some modules after [!UNAVAIL=return]
|
||||
# https://wiki.archlinux.org/title/Systemd-resolved#systemd-resolved_not_searching_the_local_domain
|
||||
|
|
Loading…
Reference in a new issue