Use stylix/base16 for bat syntax

This commit is contained in:
Evie Litherland-Smith 2024-02-09 07:17:31 +00:00
parent 7b1c586ba6
commit bf253bd9a3

View file

@ -1,4 +1,9 @@
{pkgs, ...}: {
{
config,
lib,
pkgs,
...
}: {
imports = [
./git/default.nix
./ssh/default.nix
@ -9,6 +14,7 @@
./scripts/default.nix
];
stylix.targets = {
bat.enable = true;
fzf.enable = true;
zellij.enable = true;
};
@ -16,7 +22,7 @@
bash.enable = true;
bat = {
enable = true;
config.theme = "Catppuccin-mocha";
config.theme = lib.mkIf config.stylix.targets.bat.enable "base16-stylix";
};
carapace = {
enable = true;