fix bat config
This commit is contained in:
parent
ff5c069b08
commit
3da7613d5f
|
@ -27,6 +27,15 @@
|
|||
{ nixpkgs, self, ...} @ inputs:
|
||||
let
|
||||
selfPkgs = import ./pkgs;
|
||||
|
||||
catppuccin-fcitx5 = {
|
||||
url = "github:catppuccin/fcitx5";
|
||||
flake = false;
|
||||
};
|
||||
catppuccin-cava = {
|
||||
url = "github:catppuccin/cava";
|
||||
flake = false;
|
||||
};
|
||||
in
|
||||
{
|
||||
overlays.default = selfPkgs.overlay;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ catppuccin-bat, ... }:
|
||||
{
|
||||
programs.bat = {
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
pager = "less -FR";
|
||||
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
themes = {
|
||||
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
|
||||
Catppuccin-mocha = builtins.readFile "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme";
|
||||
Catppuccin-mocha = builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue