Rename dnscrypt to dns

This commit is contained in:
Bad 2022-09-13 17:37:16 +02:00
parent 5c827d5478
commit c539d4ce5c
3 changed files with 3 additions and 5 deletions

View file

@ -2,10 +2,8 @@
networking = {
nameservers = [ "127.0.0.1" "::1" ];
resolvconf.useLocalResolver = true;
# If using dhcpcd:
dhcpcd.extraConfig = "nohook resolv.conf";
# If using NetworkManager:
networkmanager.dns = "none";
# networkmanager.dns = "none";
};
services.dnscrypt-proxy2 = {
enable = true;
@ -19,7 +17,7 @@
"https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md"
"https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md"
];
cache_file = "/var/lib/dnscrypt-proxy2/public-resolvers.md";
cache_file = "/var/lib/dnscrypt-proxy/public-resolvers.md";
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3";
};
};

View file

@ -1,6 +1,6 @@
{ profiles, ... }:
with profiles; rec {
base = [ users.root core dnscrypt ];
base = [ users.root core dns ];
workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization java networkmanager pipewire flatpak peerix tailscale users.mae ];
desktop = workstation ++ [ amd three_dee ];
lap = workstation ++ [ laptop bluetooth print ];