From edf57fef9be5a9ec629f914561a6ec46ea543bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 8 May 2023 21:01:05 +0200 Subject: [PATCH] nixos/fzf: fix evaluation if ohMyZsh is enabled --- nixos/modules/programs/fzf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/fzf.nix b/nixos/modules/programs/fzf.nix index 4442d88941c6..7c4f338e29b3 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 ]; }