mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:43:52 +00:00
31 lines
411 B
Nix
31 lines
411 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.programs.cli.fzf;
|
|
in
|
|
{
|
|
options = {
|
|
module.programs.cli.fzf = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.fzf = True // {
|
|
defaultOptions = [
|
|
"--border=rounded"
|
|
"--info=hidden"
|
|
"--no-mouse"
|
|
"--margin=1,49%,1,1"
|
|
"--padding=0"
|
|
];
|
|
};
|
|
};
|
|
}
|