From a2b9efe34cb028ad87e17392daa688f9bb50f50e Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 4 Oct 2025 01:55:31 -0500 Subject: [PATCH] adding tailscale --- hosts/snowbelle/snowbelle.nix | 2 ++ modules/tailscale.nix | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 modules/tailscale.nix diff --git a/hosts/snowbelle/snowbelle.nix b/hosts/snowbelle/snowbelle.nix index 968f56a..3d5ab07 100644 --- a/hosts/snowbelle/snowbelle.nix +++ b/hosts/snowbelle/snowbelle.nix @@ -7,6 +7,7 @@ ../../modules/ssh.nix ../../modules/docker.nix ../../modules/syncthing.nix + ../../modules/tailscale.nix.nix ../../modules/homelab/zfs.nix ../../modules/homelab/smb.nix ../../modules/homelab/nfs.nix @@ -65,6 +66,7 @@ 445 # cifs 1883 2049 # nfs + 2222 # syncthing 3001 # uptime kuma 3030 3131 diff --git a/modules/tailscale.nix b/modules/tailscale.nix new file mode 100644 index 0000000..f0d85da --- /dev/null +++ b/modules/tailscale.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + services.tailscale = { + enable = true; + + useRoutingFeatures = "both"; + authKeyFile = "/home/blake/.nix/.keyring/tailscale/authkey"; + }; +}