nixos-config/modules/home/bat/default.nix
2023-11-06 15:58:15 +01:00

14 lines
385 B
Nix

{ config, pkgs, ... }:
{
programs.bat = {
enable = true;
config = {
pager = "less -FR";
theme = "Catppuccin-mocha";
};
themes = {
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
Catppuccin-mocha = builtins.readFile "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme";
};
};
}