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