aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-10-23 07:43:32 -0700
committerFranck Cuny <franck@fcuny.net>2025-10-23 07:43:32 -0700
commit8cf6d61291aa73ab9fa719c5c43c4a7d643cc672 (patch)
tree084d5298c921f651cc8a4ef8633afec94dae399c
parentwebfinger setup to support tailscale (diff)
downloadinfra-8cf6d61291aa73ab9fa719c5c43c4a7d643cc672.tar.gz
add a profile for tailscale
will be used by nixos machines.
Diffstat (limited to '')
-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";
+}