home-manager/shell/bat.nix

13 lines
160 B
Nix

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