refactor: complete rewrite
This commit is contained in:
parent
19a4bbda3c
commit
8e81943cf9
399 changed files with 3396 additions and 8042 deletions
29
modules/home/console/tools/bat.nix
Normal file
29
modules/home/console/tools/bat.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) attrValues;
|
||||
cfg = osConfig.ooknet.console.tools.bat;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
extraPackages = attrValues {
|
||||
inherit
|
||||
(pkgs.bat-extras)
|
||||
batgrep
|
||||
prettybat
|
||||
batwatch
|
||||
batman
|
||||
;
|
||||
};
|
||||
config = {
|
||||
# TODO: custom theme
|
||||
theme = "base16";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue