This commit is contained in:
Morten Olsen
2023-09-16 22:59:04 +02:00
parent 33f79566b7
commit a7bfa09045
14 changed files with 61 additions and 67 deletions

View File

@@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
programs.bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [
batdiff
batman
batgrep
batwatch
];
themes = {
dracula = builtins.readFile (pkgs.fetchFromGitHub {
owner = "dracula";
repo = "sublime"; # Bat uses sublime syntax for its themes
rev = "26c57ec282abcaa76e57e055f38432bd827ac34e";
sha256 = "019hfl4zbn4vm4154hh3bwk6hm7bdxbr1hdww83nabxwjn99ndhv";
} + "/Dracula.tmTheme");
};
};
}