nixos/home/tui/default.nix

23 lines
678 B
Nix

{ pkgs, tokyonight, ... }: {
programs = {
bat = {
enable = true;
config.theme = "tokyonight";
themes.tokyonight = builtins.readFile
"${tokyonight}/extras/sublime/tokyonight_night.tmTheme";
};
gitui = {
enable = true;
keyConfig = builtins.readFile (pkgs.fetchFromGitHub {
owner = "extrawurst";
repo = "gitui";
rev = "8f7f35b8a97e38a0e181032285554cd0961d588e";
sha256 = "sha256-zJDf6WhaUe8QTPCoVAdfCdUvYEcQpm2qddQiKw41kjY=";
} + "/vim_style_key_config.ron");
theme =
builtins.readFile "${tokyonight}/extras/gitui/tokyonight_night.ron";
};
ncspot.enable = true;
};
}