mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 08:43:52 +00:00
22 lines
393 B
Nix
22 lines
393 B
Nix
{ x, lib, config, True, ... }:
|
|
|
|
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"
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|