dotfiles/.config/nixos/shared/networking.nix
Andrei Jiroh Halili 18b7c4e226 chore(nixos): update configurations and add README
Also set wakatime project name for @hackclub High Seas and
for coding stats

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
2024-12-29 22:16:59 +08:00

18 lines
No EOL
521 B
Nix

{ config, pkgs, lib, ... }:
{
# Do a lot of systemd-resolved related chores
config.networking.nameservers = [
"45.90.28.0#c393f6.dns.nextdns.io"
"45.90.30.0#c393f6.dns.nextdns.io"
];
config.services.resolved = {
enable = true;
dnssec = "false"; # https://superuser.com/a/1493674
domains = [ "~." "fawn-cod.ts.net" ];
# Use Cloudflare DNS resolver as fallback if things go wrong.
fallbackDns = [ "1.1.1.1#one.one.one.one" "1.0.0.1#one.one.one.one" ];
dnsovertls = "true";
};
}