diff --git a/nixos/hosts/wheatley/configuration.nix b/nixos/hosts/wheatley/configuration.nix index 277a2a6..d36c12c 100644 --- a/nixos/hosts/wheatley/configuration.nix +++ b/nixos/hosts/wheatley/configuration.nix @@ -162,6 +162,36 @@ enable = false; }; + services.stubby = { + enable = true; + settings = + pkgs.stubby.passthru.settingsExample + // { + upstream_recursive_servers = [ + { + address_data = "192.242.2.4"; + tls_auth_name = "base.dns.mullvad.net"; + tls_pubkey_pinset = [ + { + digest = "sha256"; + value = "g8bfYNSxU86c8odFPsdTvWnC2VZkxIiHLZ2a6pydEjI="; + } + ]; + } + { + address_data = "2a07:e340::4"; + tls_auth_name = "base.dns.mullvad.net"; + tls_pubkey_pinset = [ + { + digest = "sha256"; + value = "g8bfYNSxU86c8odFPsdTvWnC2VZkxIiHLZ2a6pydEjI="; + } + ]; + } + ]; + }; + }; + networking = { hostName = "wheatley"; diff --git a/nixos/shared/packages/default.nix b/nixos/shared/packages/default.nix index d82be3b..81400f0 100644 --- a/nixos/shared/packages/default.nix +++ b/nixos/shared/packages/default.nix @@ -43,6 +43,10 @@ wget zsh tldr + nmap + knot-dns + libressl + nettools # System libraries ])