nixos/fzf: refactor two options
This commit is contained in:
parent
f8be62c5ce
commit
3126eb7621
@ -5,18 +5,8 @@ let
|
||||
in {
|
||||
options = {
|
||||
programs.fzf = {
|
||||
fuzzyCompletion = mkOption {
|
||||
type = types.bool;
|
||||
description = lib.mdDoc "Whether to use fzf for fuzzy completion";
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
keybindings = mkOption {
|
||||
type = types.bool;
|
||||
description = lib.mdDoc "Whether to set up fzf keybindings";
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
fuzzyCompletion = mkEnableOption (mdDoc "fuzzy completion with fzf");
|
||||
keybindings = mkEnableOption (mdDoc "fzf keybindings");
|
||||
};
|
||||
};
|
||||
config = {
|
||||
|
Loading…
Reference in New Issue
Block a user