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)}"; }; };