Home

dotnix @d3c866bd539f532a45b1e335090c966b4a35ab0d - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / bat.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{pkgs, ...}: {
  programs.bat = {
    enable = true;
    config = {theme = "ctp-mocha";};
    themes = {
      ctp-mocha = builtins.readFile (pkgs.fetchFromGitHub {
          owner = "catppuccin";
          repo = "bat";
          rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
          sha256 = "1g2r6j33f4zys853i1c5gnwcdbwb6xv5w6pazfdslxf69904lrg9";
        }
        + "/Catppuccin-mocha.tmTheme");
    };
  };
}