Taildrop to Downloads, exit nodes past captive portals, stay awake

Ports the rest of CoreDesktop's 9dc5eb1 that applies to Pop!_OS.

- configure tailscale turns on federated-connector-taildrop.service,
  which saves files sent here with Taildrop to Downloads and says so in
  a notification. COSMIC Files has no Scripts menu, so CoreDesktop's
  "Send with Tailscale" isn't ported; send with tailscale file cp.
  Leaving the network turns it off.
- It also installs a NetworkManager dispatcher script that stops using a
  Tailscale exit node while you sign in to a captive portal, and uses it
  again once online. Pop!_OS checks connectivity (20-connectivity-pop),
  so NetworkManager sees the portal.
- A computer joined before this shows Tailscale as to do, and configure
  tailscale adds both without signing in again. update restarts the
  Taildrop service on the new version, as it does the email watcher.
- install.sh keeps the computer from sleeping until an install or update
  finishes.

The pacman guard, unowned files and hardware.sh are Arch only.

Smoketest: 75-taildrop-portal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 19:06:31 -07:00
co-authored by Claude Opus 5.5
parent 7185d6cb3e
commit 0eff0c70d3
10 changed files with 265 additions and 19 deletions
+4 -10
View File
@@ -53,19 +53,13 @@ Since `4a4a3bd`, to look at:
and its later checks from `d5925fa` (what root runs is root's alone) and
`53c6c8b` (the install path). Hiding the connector's settings from
agents is done.
- [ ] `9dc5eb1` Upgrade safeguards, hardware setup, sign-in options and Taildrop.
Sign-in options (security key, fingerprint) are done.
To port: Taildrop's service that saves files sent here to Downloads (COSMIC Files
has no Scripts menu for sending), keeping the computer awake during
`update`, and the captive portal script that pauses a Tailscale exit
node. Arch only: the pacman guard, unowned files, `hardware.sh`
(System76 does its own).
- [ ] `ffbaf71` Keep other machines on the network from reaching Docker
containers: only if the connector ever installs Docker
Arch or GNOME only, nothing to port: `e14a345` and `ba4dc17` (login screen
logo), `1e2581d` (kernel modules), `d456e31` (initramfs), `5d7db2c` (reboot
after update: Pop!_OS' own updates handle this).
Arch or GNOME only, nothing to port: from `9dc5eb1`, the pacman guard, unowned
files and `hardware.sh` (System76 does its own); `e14a345` and `ba4dc17`
(login screen logo), `1e2581d` (kernel modules), `d456e31` (initramfs),
`5d7db2c` (reboot after update: Pop!_OS' own updates handle this).
## Pop!_OS-specific