Add fallback theme to bat if stylix isn't enabled

This commit is contained in:
Evie Litherland-Smith 2024-03-10 06:54:22 +00:00
parent de75c8f44c
commit 02f86b4875

View file

@ -24,7 +24,10 @@
carapace.enable = true;
bat = {
enable = true;
config.theme = lib.mkIf config.stylix.targets.bat.enable "base16-stylix";
config.theme =
if config.stylix.targets.bat.enable
then "base16-stylix"
else "dracula";
};
eza = {
enable = true;