From 0ae9cb327b8cf13c0a1e5342448624fcd1f976c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 27 Dec 2022 14:11:10 +0100 Subject: [PATCH] feat(hydrogen): blocky client lookup --- hosts/hydrogen/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/hydrogen/configuration.nix b/hosts/hydrogen/configuration.nix index bbf8782..7cdbd67 100644 --- a/hosts/hydrogen/configuration.nix +++ b/hosts/hydrogen/configuration.nix @@ -8,6 +8,7 @@ networking = { hostName = name; domain = "fainsin.bzh"; + nameservers = [ "127.0.0.1" "1.1.1.1" "1.0.0.1" ]; firewall = { allowedTCPPorts = [ 22 # ssh @@ -52,6 +53,11 @@ enable = true; settings = { upstream.default = [ "208.67.222.222" "208.67.220.220" ]; + clientLookup.clients = { + hydrogen = [ "10.0.0.1" "127.0.0.1" ]; + pixel5 = [ "10.0.0.2" ]; + neodymium = [ "10.0.0.3" ]; + }; blocking = { refreshPeriod = "24h"; clientGroupsBlock.default =