fix(vesuvio): make dns resolution actually work
This commit is contained in:
parent
ce455d0e4a
commit
6f48ba81b4
2 changed files with 34 additions and 22 deletions
|
@ -68,7 +68,7 @@ in {
|
|||
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
dns = "systemd-resolved";
|
||||
dns = lib.mkDefault "systemd-resolved";
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
@ -138,10 +138,9 @@ in {
|
|||
resolved = {
|
||||
enable = lib.mkDefault true;
|
||||
dnssec = "allow-downgrade";
|
||||
extraConfig = lib.mkDefault ''
|
||||
[Resolve]
|
||||
dnsovertls = "true";
|
||||
extraConfig = ''
|
||||
DNS=1.1.1.1 1.0.0.1
|
||||
DNSOverTLS=yes
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue