From 7dc73c6e4eb86fc12d25c4e82482ac98a7e8cc95 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 23 Aug 2024 12:42:44 -0400 Subject: [PATCH] defaultApps: use basenames of executables for session vars --- homeManagerModules/defaultApps.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeManagerModules/defaultApps.nix b/homeManagerModules/defaultApps.nix index 06c8fc2b..3e5e6e7b 100644 --- a/homeManagerModules/defaultApps.nix +++ b/homeManagerModules/defaultApps.nix @@ -29,9 +29,9 @@ in { ]; sessionVariables = { - BROWSER = "${lib.getExe cfg.webBrowser}"; - EDITOR = "${lib.getExe cfg.terminalEditor}"; - TERMINAL = "${lib.getExe cfg.terminal}"; + BROWSER = "${builtins.baseNameOf (lib.getExe cfg.webBrowser)}"; + EDITOR = "${builtins.baseNameOf (lib.getExe cfg.terminalEditor)}"; + TERMINAL = "${builtins.baseNameOf (lib.getExe cfg.terminal)}"; }; };