Agregar respaldo y restauracion de Firefox y VSCodium nativo

Firefox: captura del perfil snap (marcadores, contrasenas, extensiones,
cookies, contenedores, prefs; excluye caches y storage de sitios) y modulo
de restauracion idempotente.

VSCodium: pasa a instalacion nativa via repo apt oficial (clave GPG +
sources) en lugar de flatpak; captura settings, snippets, perfiles, estado
de workspaces y lista de extensiones (excluye cache de redhat.java).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-09 17:43:25 -03:00
parent a8848295ff
commit 8507f087ba
10 changed files with 312 additions and 5 deletions
+11 -1
View File
@@ -43,6 +43,8 @@ Current modules in execution order:
- `easyEffects` — restores EasyEffects config and presets from `secrets/easyEffectsConfig.zip`
- `wireplumber` — restores WirePlumber state (default audio device, Bluetooth profiles) from `secrets/wireplumberState.zip`
- `cups` — restores CUPS printer definitions and PPD drivers from `secrets/cupsConfig.zip`
- `firefox` — installs Firefox (snap) and restores the profile from `secrets/firefoxProfile.zip`
- `vscodium` — installs VSCodium natively (official apt repo), restores config (settings, snippets, profiles, workspace state), and reinstalls extensions from `secrets/vscodiumConfig.zip`
**`modules/registry.sh`** — the main workhorse. Reads all entries from `config/registry.yaml` and dispatches each one to a handler based on its `type`. Supported types: `ppa`, `apt`, `snap`, `flatpak`, `dotfile`, `service`, `pipewire`, `video`, `docker`.
@@ -65,6 +67,8 @@ Current modules in execution order:
- `easyEffectsConfig.zip` — EasyEffects settings and output presets
- `wireplumberState.zip` — WirePlumber state (default audio sink, Bluetooth device profiles, per-app volumes)
- `cupsConfig.zip` — CUPS `printers.conf` and PPD driver files for all configured printers
- `firefoxProfile.zip` — Firefox Snap profile (bookmarks, history, passwords, extensions, cookies, containers, prefs; excludes caches and site storage)
- `vscodiumConfig.zip` — VSCodium native config (settings, snippets, profiles, workspace state, extension list)
**`scripts/`** — capture scripts to run on the current machine before pushing:
- `encryptSsh.sh` — encrypts `~/.ssh` into `secrets/sshKeys.tar.gz.age`
@@ -72,9 +76,12 @@ Current modules in execution order:
- `easyEffects/capture.sh` — captures EasyEffects Flatpak config into `secrets/easyEffectsConfig.zip`
- `wireplumber/capture.sh` — captures WirePlumber state into `secrets/wireplumberState.zip`
- `cups/capture.sh` — captures CUPS printer config into `secrets/cupsConfig.zip` (requires sudo)
- `firefox/capture.sh` — captures the Firefox Snap profile into `secrets/firefoxProfile.zip` (excludes caches, site storage, telemetry)
- `vscodium/capture.sh` — captures VSCodium native config into `secrets/vscodiumConfig.zip` (settings, profiles, workspace state, extension list)
**`config/keys/`** — GPG public keys for third-party apt repositories:
- `claude-code.asc` — Anthropic signing key for the Claude Code apt repository
- `vscodium.asc` — Pavlo Rudyi (paulcarroty) signing key for the VSCodium apt repository
**`.claude/`** — Claude Code project configuration:
- `settings.json` — allowed bash commands for this project
@@ -93,7 +100,6 @@ Current modules in execution order:
| buildEssential | apt | build-essential |
| virtualbox | apt | virtualbox |
| dbeaverCe | snap | dbeaver-ce |
| vscodium | flatpak | com.vscodium.codium |
| filezilla | flatpak | org.filezillaproject.Filezilla |
| angryIpScanner | flatpak | org.angryip.ipscan |
| anydesk | flatpak | com.anydesk.Anydesk |
@@ -122,6 +128,8 @@ Current modules in execution order:
| `easyEffects` | `secrets/easyEffectsConfig.zip` | Settings DB and output presets (HB-Flat, HB-Lite, HB-Mid, Heavy Bass) |
| `wireplumber` | `secrets/wireplumberState.zip` | Default audio sink (Bluetooth headphones), A2DP profile, per-app volumes |
| `cups` | `secrets/cupsConfig.zip` | 5 printers: Epson L8050 WiFi, Canon MP230, Samsung M2020, POS80, Cups PDF |
| `firefox` | `secrets/firefoxProfile.zip` | Firefox profiles: bookmarks, passwords, extensions, cookies, containers, prefs |
| `vscodium` | `secrets/vscodiumConfig.zip` | Native apt install (official VSCodium repo) + settings, snippets, profiles, workspace state, reinstalled extensions |
## Adding a new package
@@ -150,6 +158,8 @@ bash scripts/thunderbird/capture.sh && git add secrets/thunderbirdProfile.zip
bash scripts/easyEffects/capture.sh && git add secrets/easyEffectsConfig.zip
bash scripts/wireplumber/capture.sh && git add secrets/wireplumberState.zip
bash scripts/cups/capture.sh && git add secrets/cupsConfig.zip
bash scripts/firefox/capture.sh && git add secrets/firefoxProfile.zip
bash scripts/vscodium/capture.sh && git add secrets/vscodiumConfig.zip
bash scripts/encryptSsh.sh && git add secrets/sshKeys.tar.gz.age
```