#!/bin/bash

# Install the Tailscale mesh VPN service and a web app for the Tailscale Admin Console.

echo -e "\nInstalling Tailscale..."
omarchy-pkg-add tailscale

echo -e "\nStarting Tailscale..."
sudo systemctl enable --now tailscaled.service
sudo tailscale up --accept-routes

omarchy-webapp-install "Tailscale" "https://login.tailscale.com/admin/machines" https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/tailscale-light.png
