- Update flake.nix with 25.11 release and core inputs - Add dedicated modules for audio (Pipewire), bluetooth, and networking - Update GEMINI.md with the new Modular Merging Architecture blueprint - Configure graphical installer ISO and test VM outputs
26 lines
859 B
Bash
Executable File
26 lines
859 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Configure Tailscale declaratively for NixOS
|
|
|
|
FEATURE_FILE="/etc/nixos/nomarchy-features/tailscale.nix"
|
|
|
|
if [ -f "$FEATURE_FILE" ]; then
|
|
echo "Tailscale is already configured in $FEATURE_FILE"
|
|
exit 0
|
|
fi
|
|
|
|
sudo mkdir -p "/etc/nixos/nomarchy-features"
|
|
cat <<EOF | sudo tee "$FEATURE_FILE" > /dev/null
|
|
{ config, pkgs, ... }:
|
|
{
|
|
services.tailscale.enable = true;
|
|
}
|
|
EOF
|
|
|
|
echo "Created $FEATURE_FILE."
|
|
echo "IMPORTANT: To finish enabling Tailscale, add './nomarchy-features/tailscale.nix' to your imports list in /etc/nixos/system.nix or /etc/nixos/flake.nix,"
|
|
echo "then run 'sys-update'."
|
|
echo "After sys-update completes, you can log in by running 'sudo tailscale up'."
|
|
|
|
nomarchy-webapp-install "Tailscale" "https://login.tailscale.com/admin/machines" https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/tailscale-light.png
|