mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
DNS fix
This commit is contained in:
parent
f1c21d1125
commit
ab079b9766
1 changed files with 8 additions and 4 deletions
|
|
@ -1,15 +1,19 @@
|
|||
_: {
|
||||
{lib, ...}: let
|
||||
inherit (lib.modules) mkForce;
|
||||
in {
|
||||
networking = {
|
||||
networkmanager.dns = mkForce "none";
|
||||
nameservers = [
|
||||
"194.242.2.2" # For now, Mullvad DNS.
|
||||
"9.9.9.9"
|
||||
];
|
||||
};
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
fallbackDns = [
|
||||
"1.1.1.1"
|
||||
"9.9.9.9"
|
||||
];
|
||||
dnssec = "false";
|
||||
domains = ["~."];
|
||||
dnssec = "true";
|
||||
extraConfig = ''
|
||||
DNSOverTLS=yes
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue