lazyworktree: add module

This commit is contained in:
Aguirre Matteo 2026-02-08 10:58:23 -03:00 committed by Austin Horstman
parent cbd8a72e5f
commit f5d50fd8cb
4 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,8 @@
auto_fetch_prs: false
auto_refresh: true
fuzzy_finder_input: false
icon_set: nerd-font-v3
refresh_interval: 10
search_auto_select: false
sort_mode: switched
worktree_dir: ~/.local/share/worktrees

View file

@ -0,0 +1 @@
{ lazyworktree-settings = ./settings.nix; }

View file

@ -0,0 +1,21 @@
{
programs.lazyworktree = {
enable = true;
settings = {
worktree_dir = "~/.local/share/worktrees";
sort_mode = "switched";
auto_fetch_prs = false;
auto_refresh = true;
refresh_interval = 10;
icon_set = "nerd-font-v3";
search_auto_select = false;
fuzzy_finder_input = false;
};
};
nmt.script = ''
assertFileExists home-files/.config/lazyworktree/config.yaml
assertFileContent home-files/.config/lazyworktree/config.yaml \
${./config.yaml}
'';
}