From 5dfa7051a2ac13bd483614f0bec4e78e48cedc3f Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 28 Dec 2023 11:48:41 +0100 Subject: fix(sys/svcs/xdg): Use correct types in termchooser config --- sys/svcs/xdg/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sys/svcs/xdg/default.nix') diff --git a/sys/svcs/xdg/default.nix b/sys/svcs/xdg/default.nix index 243c7c9d..95afaf51 100644 --- a/sys/svcs/xdg/default.nix +++ b/sys/svcs/xdg/default.nix @@ -10,11 +10,14 @@ termfilechooser = { enable = true; settings = { - cmd = sysLib.writeShellScriptWithLibraryAndKeepPath { - name = "lf_wrapper"; - src = ./scripts/lf_wrapper; - dependencies = with pkgs; [ - ]; + filechooser = { + cmd = "${sysLib.writeShellScriptWithLibraryAndKeepPath { + name = "lf_wrapper"; + src = ./scripts/lf_wrapper; + dependencies = with pkgs; [ + lf + ]; + }}"; }; }; }; -- cgit 1.4.1