diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:30:43 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:30:43 -0700 |
| commit | 962cbec36d4cec14c7df5ff150ade4228d4c6a5b (patch) | |
| tree | aebcbbe4b3b7cf4e350c9e59d6dc30e9e7477028 /profiles/network | |
| parent | add a profile for fonts (diff) | |
| download | infra-962cbec36d4cec14c7df5ff150ade4228d4c6a5b.tar.gz | |
add nameservers configuration to network profile
Diffstat (limited to 'profiles/network')
| -rw-r--r-- | profiles/network/networkd.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/network/networkd.nix b/profiles/network/networkd.nix index 9081f59..2143386 100644 --- a/profiles/network/networkd.nix +++ b/profiles/network/networkd.nix @@ -13,4 +13,10 @@ DNSOverTLS=yes ''; }; + + # Used by systemd-resolved, not directly by resolv.conf. + networking.nameservers = [ + "8.8.8.8#dns.google" + "1.0.0.1#cloudflare-dns.com" + ]; } |
