mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-29 01:20:14 +00:00
allow jujutsu to monitor changes automatically
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
@ -23,8 +24,17 @@ in
|
||||
email = config.programs.git.userEmail;
|
||||
};
|
||||
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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user