feat: block qqpatch.gtimg.cn by resolve it to 127.0.0.1

This commit is contained in:
Ryan Yin
2025-09-26 10:15:13 +08:00
parent 6f09e34c21
commit 7b28c08ab6

View File

@@ -8,4 +8,9 @@
# dynamically update /etc/hosts for testing
# Note that changes made in this way will be discarded when switching configurations.
environment.etc.hosts.mode = "0644";
networking.hosts."127.0.0.1" = [
# Block this domain to prevent QQ from auto-updating.
"qqpatch.gtimg.cn"
];
}