home-manager/shell/bat.nix

14 lines
160 B
Nix

{ theme, ... }:
let
theme_name = "Solarized (${theme})";
in
{
programs = {
bat = {
enable = true;
config.theme = theme_name;
};
};
}