borg: fix prune typo and add --stats

This commit is contained in:
cy 2024-12-26 05:43:57 -05:00
parent 6c85340a7f
commit 845c075fed
3 changed files with 8 additions and 6 deletions

View file

@ -59,20 +59,20 @@
source ${./p10k.zsh} source ${./p10k.zsh}
''; '';
plugins = [ plugins = with pkgs; [
{ {
name = "vi-mode"; name = "vi-mode";
src = pkgs.zsh-vi-mode; src = zsh-vi-mode;
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh"; file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
} }
{ {
name = "powerlevel10k"; name = "powerlevel10k";
src = pkgs.zsh-powerlevel10k; src = zsh-powerlevel10k;
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
} }
{ {
name = "fzf-tab"; name = "fzf-tab";
src = pkgs.zsh-fzf-tab; src = zsh-fzf-tab;
file = "share/fzf-tab/fzf-tab.zsh"; file = "share/fzf-tab/fzf-tab.zsh";
} }
]; ];

View file

@ -53,10 +53,11 @@
prune.keep = { prune.keep = {
within = "1d"; within = "1d";
daily = "7d"; daily = 7;
weekly = 4; weekly = 4;
monthly = -1; monthly = -1;
}; };
extraPruneArgs = ["--stats"];
}; };
}; };
} }

View file

@ -234,10 +234,11 @@
prune.keep = { prune.keep = {
within = "1d"; within = "1d";
daily = "7d"; daily = 7;
weekly = 4; weekly = 4;
monthly = -1; monthly = -1;
}; };
extraPruneArgs = ["--stats"];
}; };
services.btrbk.instances.local = { services.btrbk.instances.local = {