mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-27 19:20:43 +01:00
add bat config
This commit is contained in:
1
home.nix
1
home.nix
@@ -23,6 +23,7 @@
|
|||||||
./modules/zoxide.nix
|
./modules/zoxide.nix
|
||||||
./modules/mako.nix
|
./modules/mako.nix
|
||||||
./modules/ssh.nix
|
./modules/ssh.nix
|
||||||
|
./modules/bat.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "25.11"; # Please read the comment before changing.
|
home.stateVersion = "25.11"; # Please read the comment before changing.
|
||||||
|
|||||||
24
modules/bat.nix
Normal file
24
modules/bat.nix
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.bat = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
theme = "cattpuccin-mocha";
|
||||||
|
};
|
||||||
|
|
||||||
|
themes = {
|
||||||
|
catppuccin-mocha = {
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "bat";
|
||||||
|
rev = "6810349b28055dce54076712fc05fc68da4b8ec0";
|
||||||
|
hash = "sha256-lJapSgRVENTrbmpVyn+UQabC9fpV1G1e+CdlJ090uvg=";
|
||||||
|
|
||||||
|
};
|
||||||
|
file = "themes/Catppuccin Mocha.tmTheme";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user