feat(home:bat): add additional bat scripts
This commit is contained in:
parent
546ee5f965
commit
970bfee826
1 changed files with 7 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
|
|
@ -9,9 +9,14 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extraPackages = with pkgs.bat-extras; [
|
||||||
|
batgrep
|
||||||
|
prettybat
|
||||||
|
batwatch
|
||||||
|
batman
|
||||||
|
];
|
||||||
config = {
|
config = {
|
||||||
theme = "base16";
|
theme = "base16";
|
||||||
pager = "less -FR";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue