From be6236a872079b144d4abdeace1d34b528447136 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 16 Jun 2023 17:03:59 +0200 Subject: Enable `bat` --- user/settings/base.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'user/settings') diff --git a/user/settings/base.nix b/user/settings/base.nix index 6f86a33e..d447d456 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -13,6 +13,7 @@ }; home.sessionVariables = { EMAIL = "alan@alanpearce.eu"; + MANPAGER = "sh -c 'col -bx | bat -l man -p'"; }; xdg = { enable = true; @@ -37,6 +38,16 @@ hide_userland_threads = 1; }; }; + programs.bat = { + enable = true; + extraPackages = with pkgs.bat-extras; [ + batdiff + batman + batgrep + batpipe + prettybat + ]; + }; home.packages = with pkgs; [ pv -- cgit 1.4.1