fix dns
This commit is contained in:
parent
e38d0155b4
commit
986b25c7cf
9
modules/network/dns/cloudflare.nix
Normal file
9
modules/network/dns/cloudflare.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
networking.resolvconf.useLocalResolver = true;
|
||||
services.dnscrypt-proxy2 = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server_names = ["cloudflare" "cloudflare-ipv6"];
|
||||
};
|
||||
};
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
{
|
||||
imports = [./nextdns.nix];
|
||||
networking.resolvconf.useLocalResolver = true;
|
||||
imports = [./cloudflare.nix];
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{...}: {
|
||||
{
|
||||
networking.resolvconf.useLocalResolver = true;
|
||||
services.nextdns = {
|
||||
enable = true;
|
||||
arguments = ["-config" "75e43d"];
|
||||
|
Loading…
Reference in New Issue
Block a user