refactor(#2862): swarm- prefix for the snapshot store

mara, in preparation for the swarm tier: the store is a swarm-level
role, not a hive one, so hive- was misleading about which tier it
belongs to. Module, units, syslog identifier, log lines and docs all
move to swarm-snapshot-store.

Also moved the option under services.hyperhive.swarm.snapshotStore, to
sit with swarm.peers and swarm.wireguard rather than dangling off the
top level. That is a judgement call beyond the literal rename — flagged
on the PR, and cheap precisely now: the option has never shipped, so
there is no deployment to migrate, whereas doing it after a release
would be a breaking change for no new benefit.
This commit is contained in:
atlas 2026-07-31 18:49:25 +02:00 committed by mara
commit 70bcdb5463
3 changed files with 17 additions and 17 deletions

View file

@ -19,7 +19,7 @@ assume:
## Enabling it
```nix
services.hyperhive.snapshotStore = {
services.hyperhive.swarm.snapshotStore = {
enable = true;
path = "/var/lib/hyperhive-snapshots"; # must be on btrfs
port = 51821;