nixos-config/home-manager/bat.nix

14 lines
179 B
Nix

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