diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2025-09-10 16:36:54 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2025-09-10 16:41:40 +0200 |
| commit | 15e5974fbdd1e1c3be94a04b942c8b116dda2687 (patch) | |
| tree | 52f302802e34df0961716d6bf1df0be0b599d50a /config/networking.nix | |
| parent | cc50a72c9b37dd9c9c675a255bfa9f8c66527ab4 (diff) | |
networking: enable systemd-resolved (for tailscale)
Diffstat (limited to 'config/networking.nix')
| -rw-r--r-- | config/networking.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/config/networking.nix b/config/networking.nix index 970e2b1..8322f8c 100644 --- a/config/networking.nix +++ b/config/networking.nix @@ -1,4 +1,5 @@ -{...}: { +{ ... }: +{ personal.networking = { enable = true; firewall.http = true; @@ -17,7 +18,15 @@ } ]; defaultGateway = "93.95.228.1"; - nameservers = ["93.95.224.28" "93.95.224.29"]; + nameservers = [ + "93.95.224.28" + "93.95.224.29" + ]; + }; + + services.resolved = { + enable = true; + dnsovertls = "opportunistic"; }; services.tailscale = { |
