From cf0c5839952c7732adc27f1454ea901eb6ce8e42 Mon Sep 17 00:00:00 2001 From: Sense T Date: Sun, 23 Jul 2023 01:06:22 +0000 Subject: [PATCH] update dns --- global/software-configuration.nix | 3 ++- global/system-configuration.nix | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/global/software-configuration.nix b/global/software-configuration.nix index 4161922..5327c88 100644 --- a/global/software-configuration.nix +++ b/global/software-configuration.nix @@ -41,7 +41,7 @@ in }; resilio = { - enable = true; + enable = false; deviceName = "Gangly4670"; enableWebUI = true; directoryRoot = downloadDir; @@ -84,6 +84,7 @@ in }; + # kubo/ipfs /* "/ipfs" = { diff --git a/global/system-configuration.nix b/global/system-configuration.nix index 80480c4..1b344bc 100644 --- a/global/system-configuration.nix +++ b/global/system-configuration.nix @@ -2,6 +2,15 @@ time.timeZone = "Asia/Shanghai"; security.sudo.wheelNeedsPassword = false; networking.firewall.enable = false; + networking.nameservers = [ + "223.5.5.5" + "223.6.6.6" + "1.1.1.1" + "8.8.8.8" + + "2400:3200::1" + "2400:3200:baba::1" + ]; # Select internationalisation properties. i18n = {