diff options
| author | Grisha Shipunov | 2025-01-11 03:55:19 +0100 |
|---|---|---|
| committer | Grisha Shipunov | 2025-01-11 03:55:19 +0100 |
| commit | 62e2519639faa250f43f9e80e69906a59d07a44e (patch) | |
| tree | 08d662d7674904d566d2dd7ccf85affb9ddd7cd9 /modules/basic-tools/fzf.nix | |
| parent | 595d4935de99cc2ff10be9eaddac498c7c38489f (diff) | |
delete legacy stuff and reformat
Diffstat (limited to 'modules/basic-tools/fzf.nix')
| -rw-r--r-- | modules/basic-tools/fzf.nix | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/modules/basic-tools/fzf.nix b/modules/basic-tools/fzf.nix index 6fc84fe..8ad1b92 100644 --- a/modules/basic-tools/fzf.nix +++ b/modules/basic-tools/fzf.nix @@ -1,4 +1,10 @@ -{ lib, config, pkgs, ... }: { +{ + lib, + config, + pkgs, + ... +}: +{ environment = { systemPackages = [ pkgs.fzf ]; @@ -8,11 +14,15 @@ }; }; # 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 = + with lib; + if (toInt (elemAt (splitVersion config.system.nixos.release) 0) >= 23) then + { + fzf = { + keybindings = true; + fuzzyCompletion = true; + }; + } + else + { }; } |
