From 7223ca43a7f68dc8b044b37596685f5431de26e7 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Tue, 27 May 2025 10:17:27 +0200 Subject: cleanup, deadnix, format --- modules/basic-tools/fzf.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'modules/basic-tools/fzf.nix') diff --git a/modules/basic-tools/fzf.nix b/modules/basic-tools/fzf.nix index 8ad1b92..96ab39c 100644 --- a/modules/basic-tools/fzf.nix +++ b/modules/basic-tools/fzf.nix @@ -1,6 +1,4 @@ { - lib, - config, pkgs, ... }: @@ -14,15 +12,8 @@ }; }; # integrate fzf into shell, >23.05 only - programs = - with lib; - if (toInt (elemAt (splitVersion config.system.nixos.release) 0) >= 23) then - { - fzf = { - keybindings = true; - fuzzyCompletion = true; - }; - } - else - { }; + programs.fzf = { + keybindings = true; + fuzzyCompletion = true; + }; } -- cgit v1.3.1