docs: annotate nix path resolution

This commit is contained in:
Peter Steinberger
2026-01-01 09:30:12 +01:00
parent f6956320f9
commit 0a9f06d60f
4 changed files with 4 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ struct SettingsRootView: View {
}
private var nixManagedBanner: some View {
// Prefer gateway-resolved paths; fall back to local env defaults if disconnected.
let snapshotPaths = GatewayConnection.shared.snapshotPaths()
let configPath = snapshotPaths.configPath ?? ClawdisPaths.configURL.path
let stateDir = snapshotPaths.stateDir ?? ClawdisPaths.stateDirURL.path