fix: scope AI history filesystem watches

This commit is contained in:
2026-07-12 17:50:15 -07:00
parent 088c483e97
commit 2de5618ea0
2 changed files with 5 additions and 5 deletions

6
nixos/flake.lock generated
View File

@@ -654,11 +654,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1777164691,
"narHash": "sha256-sgeJvKHuZK+Q+GafoKpzGhnIh23626yHIM0+chCOfUw=",
"lastModified": 1783903120,
"narHash": "sha256-Mwei97ET6ToIlLOeFYNaVOcpXB/CgIeM7yFq1YHFu0o=",
"owner": "colonelpanic8",
"repo": "git-sync-rs",
"rev": "842380a4db8ee2302cf3d333a73b7138bef17a8d",
"rev": "6bf79386f01b94446674b7681d171943db33c3e6",
"type": "github"
},
"original": {

View File

@@ -167,10 +167,10 @@ in {
# active session doesn't push once per append.
git-sync-claude-history.Service.ExecStart =
lib.mkForce
"${pkgs.git-sync-rs}/bin/git-sync-rs watch --new-files true --min-interval 300";
"${pkgs.git-sync-rs}/bin/git-sync-rs watch --new-files true --min-interval 300 --watch-path projects --watch-path history.jsonl --watch-path plans --watch-path tasks";
git-sync-codex-history.Service.ExecStart =
lib.mkForce
"${pkgs.git-sync-rs}/bin/git-sync-rs watch --new-files true --min-interval 300";
"${pkgs.git-sync-rs}/bin/git-sync-rs watch --new-files true --min-interval 300 --watch-path sessions --watch-path archived_sessions --watch-path history.jsonl";
})
{
git-sync-gmcli-archive.Service.ExecStart =