mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 09:09:45 +00:00
18 lines
245 B
Nix
18 lines
245 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}: {
|
||
|
options = {
|
||
|
bat.enable = lib.mkEnableOption "enable bat";
|
||
|
};
|
||
|
config = lib.mkIf config.bat.enable {
|
||
|
programs.bat = {
|
||
|
enable = true;
|
||
|
config = {
|
||
|
theme = "ansi";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|