1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 08:43:52 +00:00
ultima/modules/home/programs/cli/fzf/default.nix
2024-12-09 10:15:55 +09:00

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"
];
};
};
}