nixos/home/tui/default.nix

25 lines
738 B
Nix
Raw Normal View History

2023-08-01 15:26:02 +01:00
{ pkgs, tokyonight, ... }: {
2023-08-03 09:47:17 +01:00
home.packages = [ pkgs.pinentry ];
programs = {
bat = {
enable = true;
config.theme = "tokyonight";
2023-08-01 15:26:02 +01:00
themes.tokyonight = builtins.readFile
"${tokyonight}/extras/sublime/tokyonight_night.tmTheme";
};
gitui = {
enable = true;
keyConfig = builtins.readFile (pkgs.fetchFromGitHub {
2023-08-01 15:26:02 +01:00
owner = "extrawurst";
repo = "gitui";
rev = "8f7f35b8a97e38a0e181032285554cd0961d588e";
sha256 = "sha256-zJDf6WhaUe8QTPCoVAdfCdUvYEcQpm2qddQiKw41kjY=";
} + "/vim_style_key_config.ron");
theme =
builtins.readFile "${tokyonight}/extras/gitui/tokyonight_night.ron";
};
2023-08-01 15:26:02 +01:00
ncspot.enable = true;
2023-08-03 09:47:17 +01:00
rbw.enable = true;
};
}