mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
23 lines
515 B
Nix
23 lines
515 B
Nix
{ 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");
|
|
};
|
|
};
|
|
}
|