Skip to content

Commit 57b1206

Browse files
committed
fix(hm-module): update approach to declare spaces and pins
1 parent 22cf05f commit 57b1206

File tree

2 files changed

+201
-307
lines changed

2 files changed

+201
-307
lines changed

.github/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,11 @@ To find the UUID of a mod, visit the mod's page in the Zen theme store and copy
328328
### Spaces
329329

330330
> [!WARNING]
331-
> Spaces declaration may change your rebuild experience with Home Manager. Due
332-
> to limitations on how Zen handles spaces, the updating of them is done via a
333-
> activation script on your `home-manager-<user>.service`. This may cause the
334-
> service to fail, to prevent this, it is recommended to close your Zen browser
335-
> instance before rebuilding.
331+
> Spaces and pins are stored in `zen-sessions.jsonlz4` (a Mozilla LZ4 compressed
332+
> JSON file). The activation script decompresses it, applies your configuration,
333+
> and recompresses it. A backup is created before any modification and restored
334+
> on failure. However, it is still recommended to close your Zen browser instance
335+
> before rebuilding to avoid conflicts.
336336
337337
- `profiles.*.spaces` (attrsOf submodule): Declare profile's \[work\]spaces.
338338
- `name` (string) Name of space, defaults to submodule/attribute name.

0 commit comments

Comments
 (0)