diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-04 01:55:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 01:55:13 +0100 |
commit | 9467d172558b607dc12006df0467ee353bc7b1f9 (patch) | |
tree | 015eb8ac62d2a4ea76efc75e052553b2621e9292 | |
parent | a635dc26cbc0ea706b4a7e6a791621be5414fc3e (diff) | |
parent | 3126eb762147bc32c23d7511992157c0ea5bb71c (diff) | |
download | nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.tar nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.tar.gz nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.tar.bz2 nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.tar.lz nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.tar.xz nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.tar.zst nixlib-9467d172558b607dc12006df0467ee353bc7b1f9.zip |
Merge pull request #204316 from nagy/nixos/fzf-refactor
-rw-r--r-- | nixos/modules/programs/fzf.nix | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/nixos/modules/programs/fzf.nix b/nixos/modules/programs/fzf.nix index 0452bf426227..eda4eacde4ac 100644 --- a/nixos/modules/programs/fzf.nix +++ b/nixos/modules/programs/fzf.nix @@ -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 = { |