mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-29 09:30:15 +00:00
allow jujutsu to monitor changes automatically
This commit is contained in:
@ -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
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user