mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 00:59:44 +00:00
17 lines
245 B
Nix
17 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";
|
|
};
|
|
};
|
|
};
|
|
}
|