From 2de5618ea00aac8c83044e8a43147d58f4ad475f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 12 Jul 2026 17:50:15 -0700 Subject: [PATCH] fix: scope AI history filesystem watches --- nixos/flake.lock | 6 +++--- nixos/git-sync.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/flake.lock b/nixos/flake.lock index a0356514..088266fe 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -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": { diff --git a/nixos/git-sync.nix b/nixos/git-sync.nix index d714adae..c2154d4f 100644 --- a/nixos/git-sync.nix +++ b/nixos/git-sync.nix @@ -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 =