feat: bat catppuccin theme

This commit is contained in:
Laureηt 2022-12-24 17:34:50 +01:00
parent c4c4b83b48
commit 03d4dda767
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -16,6 +16,13 @@ let
sha256 = "sha256-cWpog52Ft4hqGh8sMWhiLUQp/XXipOPnSTG6LwUAGGA=";
};
catppuccin-bat = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "1g2r6j33f4zys853i1c5gnwcdbwb6xv5w6pazfdslxf69904lrg9";
};
in {
imports = [ ./hardware-configuration.nix ];
@ -159,8 +166,8 @@ in {
EDITOR = "nvim";
};
shellAliases = {
ls = "exa";
l = "exa -l -h -g --icons --grid --git --time-style=long-iso";
l = "exa -l -h -g --icons --git --time-style=long-iso";
ls = "exa -l -h -g --icons --git --time-style=long-iso --grid";
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a";
cat = "bat";
df = "duf";
@ -232,6 +239,15 @@ in {
};
};
programs.bat = {
enable = true;
themes = {
catppuccin =
builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
};
config.theme = "catppuccin";
};
programs.alacritty = {
enable = true;
settings = {