From 345671ad9a7af91fe950d11a2b6b6956c9b4d032 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 18 Aug 2022 18:03:15 +0900 Subject: Switch to DNS.Watch --- nix/configuration.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/nix/configuration.nix b/nix/configuration.nix index 139063d..2dff2e4 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -29,10 +29,18 @@ networking = { hostName = "nix"; hosts = { - "0.0.0.0" = [ ]; + "0.0.0.0" = [ "9gag.com" "voz.vn" ]; + "23.227.135.186" = [ "halogen.city" ]; + "37.205.11.127" = [ "loang.net" "than.loang.net" ]; + }; + nameservers = [ + "84.200.69.80" "84.200.70.40" + "2001:1608:10:25::1c04:b12f" "2001:1608:10:25::9249:d69b" + ]; + networkmanager = { + enable = true; + insertNameservers = config.networking.nameservers; }; - nameservers = [ "9.9.9.11" "149.112.112.11" ]; - networkmanager.enable = true; interfaces = { enp1s0.useDHCP = true; @@ -75,8 +83,6 @@ security.rtkit.enable = true; # List services that you want to enable: services = { - mullvad-vpn.enable = true; - pipewire = { enable = true; alsa.enable = true; -- cgit 1.4.1