feat(jj): set default pager to bat

Less puts the content at the bottom which makes it hard to read on large
displays :c
This commit is contained in:
Jalil David Salamé Messina 2024-04-14 20:44:37 +02:00
parent e3565ad61b
commit ac6daaa379

View file

@ -165,7 +165,12 @@ in
}; };
programs.lazygit.enable = true; programs.lazygit.enable = true;
# Jujutsu (alternative DVCS (git-compatible)) # Jujutsu (alternative DVCS (git-compatible))
programs.jujutsu.enable = true; programs.jujutsu = {
enable = true;
settings = {
ui.pager = "bat";
};
};
}) })
(lib.mkIf (cfg.enable && devcfg.enable && devcfg.rust.enable) { (lib.mkIf (cfg.enable && devcfg.enable && devcfg.rust.enable) {
home.packages = [ pkgs.rustup ] ++ devcfg.rust.extraPackages; home.packages = [ pkgs.rustup ] ++ devcfg.rust.extraPackages;