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