nixos/home/tui/default.nix

27 lines
733 B
Nix
Raw Normal View History

{
pkgs,
neovim-custom,
tokyonight,
...
}: {
imports = [neovim-custom.homeManagerModules.default];
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";
};
};
}