aboutsummaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/tailscale.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/tailscale.nix b/profiles/tailscale.nix
new file mode 100644
index 0000000..87b1f47
--- /dev/null
+++ b/profiles/tailscale.nix
@@ -0,0 +1,9 @@
+{ ... }:
+{
+ services.tailscale = {
+ enable = true;
+ interfaceName = "tailscale0";
+ };
+ networking.firewall.trustedInterfaces = [ "tailscale0" ];
+ networking.firewall.checkReversePath = "loose";
+}