profiles/dev: configure bat

This commit is contained in:
Gabriel Arazas 2023-04-20 14:57:41 +08:00
parent 9841295fb4
commit ec6724db2d
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -27,8 +27,16 @@ in {
fd # Oh nice, a more reliable `find`. fd # Oh nice, a more reliable `find`.
ripgrep # On nice, a more reliable `grep`. ripgrep # On nice, a more reliable `grep`.
exa # Oh nice, a shinier `ls`. exa # Oh nice, a shinier `ls`.
bat # dog > bat > cat
]; ];
programs.bat = {
enable = true;
config = {
pager = "${lib.getBin pkgs.moar}/bin/moar";
theme = "base16";
style = "plain";
};
};
}) })
(lib.mkIf cfg.shell.enable { (lib.mkIf cfg.shell.enable {