summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-05-09 11:54:38 +0200
committerGitHub <noreply@github.com>2023-05-09 11:54:38 +0200
commit443a8f398a1ee941cfc3224e776b3a6bcaf24ebf (patch)
tree65fc47a26ddb1ed49fa842f262b90cca4bde0014
parent68688454720b2ea0df54ee9625739f7911fae000 (diff)
parentedf57fef9be5a9ec629f914561a6ec46ea543bbc (diff)
Merge pull request #230756 from NixOS/fzf-fix
-rw-r--r--nixos/modules/programs/fzf.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/fzf.nix b/nixos/modules/programs/fzf.nix
index 4442d88941c66..7c4f338e29b30 100644
--- a/nixos/modules/programs/fzf.nix
+++ b/nixos/modules/programs/fzf.nix
@@ -26,7 +26,7 @@ in
         source ${pkgs.fzf}/share/fzf/key-bindings.zsh
       '');
 
-    programs.zsh.ohMyZsh.plugins = optional (cfg.keybindings || cfg.fuzzyCompletion) [ "fzf" ];
+    programs.zsh.ohMyZsh.plugins = lib.mkIf (cfg.keybindings || cfg.fuzzyCompletion) [ "fzf" ];
   };
   meta.maintainers = with maintainers; [ laalsaas ];
 }