{ config, lib, ... }:
{
  networking.nameservers = lib.mkIf config.networking.useNetworkd [
    "2620:fe::11#dns11.quad9.net"
    "2620:fe::fe:11#dns11.quad9.net"
    "9.9.9.11#dns11.quad9.net"
    "149.112.112.11#dns11.quad9.net"
  ];

  services.resolved.fallbackDns = config.networking.nameservers;
}
