about summary refs log tree commit diff stats
path: root/sys/svcs/xdg
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-28 11:48:41 +0100
committerSoispha <soispha@vhack.eu>2023-12-28 11:51:32 +0100
commit5dfa7051a2ac13bd483614f0bec4e78e48cedc3f (patch)
tree11f16f41082252e425d7957ecc4da8605fbdc635 /sys/svcs/xdg
parentfix(sys/svcs/xdg/scripts/lf_wrapper): Use correct name (diff)
downloadnixos-config-5dfa7051a2ac13bd483614f0bec4e78e48cedc3f.tar.gz
nixos-config-5dfa7051a2ac13bd483614f0bec4e78e48cedc3f.zip
fix(sys/svcs/xdg): Use correct types in termchooser config
Diffstat (limited to '')
-rw-r--r--sys/svcs/xdg/default.nix13
1 files changed, 8 insertions, 5 deletions
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
+              ];
+            }}";
           };
         };
       };