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" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1777164691, "lastModified": 1783903120,
"narHash": "sha256-sgeJvKHuZK+Q+GafoKpzGhnIh23626yHIM0+chCOfUw=", "narHash": "sha256-Mwei97ET6ToIlLOeFYNaVOcpXB/CgIeM7yFq1YHFu0o=",
"owner": "colonelpanic8", "owner": "colonelpanic8",
"repo": "git-sync-rs", "repo": "git-sync-rs",
"rev": "842380a4db8ee2302cf3d333a73b7138bef17a8d", "rev": "6bf79386f01b94446674b7681d171943db33c3e6",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -167,10 +167,10 @@ in {
# active session doesn't push once per append. # active session doesn't push once per append.
git-sync-claude-history.Service.ExecStart = git-sync-claude-history.Service.ExecStart =
lib.mkForce 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 = git-sync-codex-history.Service.ExecStart =
lib.mkForce 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 = git-sync-gmcli-archive.Service.ExecStart =