1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

switched from networkmanager to iwd

This commit is contained in:
xnm
2024-10-20 23:32:04 +03:00
parent 114baed3cd
commit 6d5c55aeaa
5 changed files with 53 additions and 19 deletions

View File

@@ -3,16 +3,29 @@
{
# Enable Encrypted DNS
networking = {
nameservers = [ "127.0.0.1" "::1" ];
nameservers = [ "127.0.0.1" "[::1]" ];
# If using dhcpcd:
dhcpcd.enable = false; # disable, because enabled by default
dhcpcd.extraConfig = "nohook resolv.conf";
# If using NetworkManager:
networkmanager.dns = "none";
# If using resolvconf:
resolvconf = {
enable = false; # FIXME remember to delete /etc/resolv.conf after applying this config
useLocalResolver = true;
};
# If using iwd:
wireless.iwd.settings.Network.NameResolvingService = "none";
};
services.dnscrypt-proxy2 = {
enable = true;
settings = {
listen_addresses = [ "127.0.0.1:53" "[::1]:53" ];
ipv6_servers = true;
require_dnssec = true;