about summary refs log tree commit diff
path: root/hosts/common/system
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-05 13:20:28 -0800
committerFranck Cuny <franck@fcuny.net>2022-03-05 13:20:28 -0800
commit9210b04b886157d5226ccc7bda1898624e2977a3 (patch)
tree8cad547b2059264029e986e63a2a7485abf8ebd2 /hosts/common/system
parentgit: sign with GPG only when one desktop (diff)
downloadworld-9210b04b886157d5226ccc7bda1898624e2977a3.tar.gz
tailscale: add tailscale to the laptop (aptos)
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" ];
+}