From d72931c555f38c39abaf1a7c808a876dd25a9c63 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Sun, 23 Mar 2025 21:40:22 +0800 Subject: [PATCH] fixup! modules/network: init kresd --- modules/nixos/common-settings/network.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/common-settings/network.nix b/modules/nixos/common-settings/network.nix index c1e93f7..354904a 100644 --- a/modules/nixos/common-settings/network.nix +++ b/modules/nixos/common-settings/network.nix @@ -38,11 +38,11 @@ in (builtins.filter (s: s != [ ] && s != "")) (lib.strings.concatMapStrings (x: "'${x}',")) ]; - chinaDomains = listToLuaTable (builtins.readFile ./china-domain.txt); + chinaDomains = listToLuaTable (builtins.readFile ./china-domains.txt); globalSettings = '' log_level("notice") modules = { 'hints > iterate', 'stats', 'predict' } - cache.size = ${cfg.localdns.cacheSize} * MB + cache.size = ${toString cfg.localdns.cacheSize} * MB trust_anchors.remove(".") ''; tsSettings = ''