Common/eza: fix icons config for 24.05

This commit is contained in:
Toast 2024-10-25 10:56:47 +02:00
parent b51bea1785
commit cfa31cbe51

View file

@ -1,11 +1,18 @@
{flakeSelf, ...}: {
{
flakeSelf,
config,
...
}: {
home-manager = {
users.toast = {
programs.eza = {
enable = true;
enableBashIntegration = true;
git = true;
icons = "auto";
icons =
if config.system.nixos.release == "24.05"
then true
else "auto";
};
xdg.configFile."eza/theme.yml".source = "${flakeSelf.inputs.eza-themes}/themes/catppuccin.yml";
};