summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home-manager/bat.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/home-manager/bat.nix b/modules/home-manager/bat.nix
new file mode 100644
index 0000000..5a9802e
--- /dev/null
+++ b/modules/home-manager/bat.nix
@@ -0,0 +1,13 @@
+{ catppuccin-bat, ...}: {
+ # a cat(1) clone with syntax highlighting and Git integration.
+ programs.bat = {
+ enable = true;
+ config = {
+ pager = "less -FR";
+ theme = "catppuccin-mocha";
+ };
+ themes = {
+ catppuccin-mocha = builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
+ };
+ };
+}