feat: use systemd-resolved so VPN & WG DNS works
This commit is contained in:
parent
099fd5a354
commit
28786af37b
|
@ -24,6 +24,20 @@
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.nftables.enable = true;
|
networking.nftables.enable = true;
|
||||||
|
|
||||||
|
services.resolved = {
|
||||||
|
enable = true;
|
||||||
|
fallbackDns = [
|
||||||
|
"193.110.81.0#dns0.eu"
|
||||||
|
"2a0f:fc80::#dns0.eu"
|
||||||
|
"185.253.5.0#dns0.eu"
|
||||||
|
"2a0f:fc81::#dns0.eu"
|
||||||
|
];
|
||||||
|
dnssec = "false";
|
||||||
|
extraConfig = ''
|
||||||
|
DNSOverTLS=opportunistic
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# For rage encryption, all hosts need a ssh key pair
|
# For rage encryption, all hosts need a ssh key pair
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue