summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2025-09-10 16:36:45 +0200
committerquentin@aristote.fr <quentin@aristote.fr>2025-09-10 16:36:45 +0200
commitd569c87b1e93801ebb05c0848d6ea699c75c42d9 (patch)
tree1a62e80790dd848169cb36060d2ff8695c0263f1 /config
parentda096000c4de7c3f5b3c9d6d8ee2a01f9afcbf1e (diff)
networking: enable systemd-resolved (for tailscale)
Diffstat (limited to 'config')
-rw-r--r--config/networking.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/networking.nix b/config/networking.nix
index 9865f01..da38792 100644
--- a/config/networking.nix
+++ b/config/networking.nix
@@ -1,4 +1,5 @@
-{...}: {
+{ ... }:
+{
personal.networking = {
enable = true;
firewall.http = true;
@@ -13,12 +14,17 @@
enable = true;
secretsFile = "/etc/wpa_supplicant/secrets";
networks.Quentintranet = {
- authProtocols = ["SAE"];
+ authProtocols = [ "SAE" ];
pskRaw = "ext:psk";
};
};
};
+ services.resolved = {
+ enable = true;
+ dnsovertls = "opportunistic";
+ };
+
services.tailscale = {
enable = true;
openFirewall = true;