Fix fzf IFD
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
alejandro-angulo 2025-12-19 21:37:53 -08:00
parent 2e4893336a
commit b396fdadb2
2 changed files with 24 additions and 2 deletions

View file

@ -2,10 +2,28 @@
config,
lib,
namespace,
inputs,
...
}:
let
cfg = config.${namespace}.programs.fzf;
colors =
lib.attrsets.mapAttrs
(_: color: inputs.catppuccin-nix-palette.lib.palette.mocha.colors.${color}.hex)
{
"bg+" = "surface0";
bg = "base";
spinner = "rosewater";
hl = "mauve";
fg = "text";
header = "mauve";
info = "mauve";
pointer = "mauve";
marker = "mauve";
"fg+" = "text";
prompt = "mauve";
"hl+" = "mauve";
};
in
{
options.${namespace}.programs.fzf = {
@ -13,7 +31,9 @@ in
};
config = lib.mkIf cfg.enable {
catppuccin.fzf.enable = true;
programs.fzf.enable = true;
programs.fzf = {
inherit colors;
enable = true;
};
};
}