nixos/home/tui/default.nix

25 lines
738 B
Nix

{ pkgs, tokyonight, ... }: {
home.packages = [ pkgs.pinentry ];
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;
rbw.enable = true;
};
}