fix(actualbudget): preserve migrated data path

This commit is contained in:
2026-08-10 22:21:32 -04:00
parent ce12c90aff
commit 0ea8390e96
3 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,8 @@ The domain model (Host, Module, Skeleton, Auto-loader, Enable convention, overla
## Gotchas
- Actual Budget's NixOS service runs `actual-server` with `WorkingDirectory = services.actual.settings.dataDir`, and `actual-server` prefers a `config.json` in that current directory over `ACTUAL_CONFIG_PATH`.
When migrating old community-script state, either preserve the old in-guest data path or remove/update the copied `config.json`, otherwise stale absolute paths such as `/opt/actualbudget-data/server-files` override the declarative module settings.
- Subagent completion delivery is non-blocking through immediate spawn, milestone notifications, retained terminal entries, and `subagent_list` or `subagent_result` retrieval.
`subagent_wait` intentionally blocks the parent tool call until its condition or timeout, so do not use it merely to keep background work alive during an interactive workflow.
- Nixvim's flake input following the root nixpkgs source does not make its Home Manager module reuse the host's `pkgs` instance.

View File

@@ -16,7 +16,7 @@ my.guest {
group = "storage";
settings = {
port = 5006;
dataDir = "/var/lib/actual";
dataDir = "/opt/actualbudget-data";
};
};
};

View File

@@ -76,7 +76,7 @@
autoStart = false;
vlan = 20;
mac = "BC:24:11:C1:CD:28";
mounts."/var/lib/actual".hostPath = "/pikachu/data/actualbudget";
mounts."/opt/actualbudget-data".hostPath = "/pikachu/data/actualbudget";
limits = {
memory = "2G";
cpu = "200%";