all repos — nixfiles @ 56a7dc354602d54324a9cda7ce9121d53beaa05e

System and user configuration, managed by nix and home-manager

nextdns: support /etc/hosts

Alan Pearce
commit

56a7dc354602d54324a9cda7ce9121d53beaa05e

parent

57250f8deeffb892cb45a0850f0ab6ee07ccaee4

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M system/modules/nextdns.nixsystem/modules/nextdns.nix
@@ -12,6 +12,8 @@
kresdConfig = { enable = true; extraConfig = '' + modules = { 'hints > iterate' } + hints.add_hosts() policy.add(policy.all(policy.TLS_FORWARD({ {'45.90.28.0', hostname='${identifyingPrefix}${cfg.configID}.dns1.nextdns.io'}, {'2a07:a8c0::', hostname='${identifyingPrefix}${cfg.configID}.dns1.nextdns.io'},