allow jujutsu to monitor changes automatically

This commit is contained in:
Noah Masur
2025-07-26 21:03:40 -04:00
parent ebd79aa348
commit d38f767d03

View File

@ -1,5 +1,6 @@
{ {
config, config,
pkgs,
lib, lib,
... ...
}: }:
@ -23,8 +24,17 @@ in
email = config.programs.git.userEmail; email = config.programs.git.userEmail;
}; };
ui.paginate = "never"; ui.paginate = "never";
# Automatically snapshot when files change
fsmonitor.backend = "watchman";
fsmonitor.watchman.register-snapshot-trigger = true;
}; };
}; };
home.packages = [
# Required for the fsmonitor to auto-snapshot
pkgs.watchman
];
}; };
} }