about summary refs log tree commit diff
path: root/profiles/tailscale.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/tailscale.nix')
-rw-r--r--profiles/tailscale.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/tailscale.nix b/profiles/tailscale.nix
new file mode 100644
index 0000000..61c1a38
--- /dev/null
+++ b/profiles/tailscale.nix
@@ -0,0 +1,6 @@
+{ ... }:
+{
+  services.tailscale.enable = true;
+  networking.firewall.trustedInterfaces = [ "tailscale0" ];
+  networking.firewall.checkReversePath = "loose";
+}