diff options
author | Alan Pearce | 2020-09-10 15:00:09 +0200 |
---|---|---|
committer | Alan Pearce | 2020-09-10 15:00:09 +0200 |
commit | 56a7dc354602d54324a9cda7ce9121d53beaa05e (patch) | |
tree | d4ddcd5ea893e3700512931fcff603c6d14f9176 /system/modules | |
parent | 57250f8deeffb892cb45a0850f0ab6ee07ccaee4 (diff) | |
download | nixfiles-56a7dc354602d54324a9cda7ce9121d53beaa05e.tar.lz nixfiles-56a7dc354602d54324a9cda7ce9121d53beaa05e.tar.zst nixfiles-56a7dc354602d54324a9cda7ce9121d53beaa05e.zip |
nextdns: support /etc/hosts
Diffstat (limited to 'system/modules')
-rw-r--r-- | system/modules/nextdns.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/modules/nextdns.nix b/system/modules/nextdns.nix index 021c65d3..ae7f6852 100644 --- a/system/modules/nextdns.nix +++ b/system/modules/nextdns.nix @@ -12,6 +12,8 @@ let 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'}, |