Configure nextdns usage via module
1 file changed, 9 insertions(+), 4 deletions(-)
changed files
M system/trillian.nix → system/trillian.nix
@@ -4,6 +4,9 @@ { imports = [ ./private/default.nix + ./modules/darwin/stubby.nix + ./modules/nextdns.nix + ./settings/programs/accounting.nix ./settings/programs/shell.nix ];@@ -15,10 +18,12 @@ networking = { hostName = "trillian"; knownNetworkServices = [ "Wi-Fi" "USB 10/100/1000 LAN" ]; - dns = [ - "::1" - "127.0.0.1" - ]; + nextdns = { + enable = true; + resolver = "stubby"; + configID = "abd6e5"; + identifyDevice = true; + }; }; # Use a custom configuration.nix location.