dns fixes

This commit is contained in:
Henry Hiles 2026-05-29 17:00:52 -04:00
commit 65eec7ec06
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
4 changed files with 6 additions and 3 deletions

5
modules/common/dns.nix Normal file
View file

@ -0,0 +1,5 @@
{ lib, ... }:
{
networking.resolvconf.enable = false;
environment.etc."resolv.conf".text = lib.mkForce "nameserver 127.0.0.1";
}

View file

@ -1,5 +1,4 @@
{
networking.resolvconf.useLocalResolver = true;
services.dnsproxy = {
enable = true;
flags = [

View file

@ -54,7 +54,7 @@
"github.com/ggicci/caddy-jwt@v1.1.0"
"pkg.jsn.cam/caddy-defender@v0.9.0"
];
hash = "sha256-yvBkB4Hrja89AVsMY6Bt1fiQDxil/nrL50lW9P5BjZU=";
hash = "sha256-0FHE3HWLJvqygeHIp/0JQ9R0nS2Vux7S+r4ghCa9hpc=";
};
globalConfig = ''

View file

@ -60,7 +60,6 @@
max_request_size = 524288000;
db_cache_capacity_mb = 2056;
query_over_tcp_only = true;
dns_cache_entries = 0;
allow_public_room_directory_over_federation = true;