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