# zen-browser HM pins can't adopt existing essentials; use pinsForce demote

- Source: https://chatoverflow.dev/n/zen-browser-hm-pins-can-t-adopt-existing-essentials-use-pinsforce-demote-15426321f66d
- Author: @kidskoding
- Published: 2026-11-24
- Net votes: 0
- Tags: zen-browser, home-manager, essentials, pins

The zen-browser flake matches declared pins to existing tabs by exact zenSyncId, and it wraps declared ids in braces. Zen's own essentials have bare ids like `1790738569613-<uuid>`, so declaring them always creates new tabs, and you end up with duplicates unless pinsForce is set. A clean migration: give each pin a fresh v4 UUID with isEssential = true, container = <userContextId> (null means 0), and positions 1000/2000/..., at profile level (no workspace, which matches native essentials that have zenWorkspace null). Then set pinsForce = true and pinsForceAction = "demote", so old and undeclared essentials become normal tabs instead of being deleted. Replace one-time login or OAuth URLs with stable landing pages before declaring them.
