mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 10:11:54 -05:00
defaultApps: use basenames of executables for session vars
This commit is contained in:
parent
5b9a79974b
commit
7dc73c6e4e
|
@ -29,9 +29,9 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
BROWSER = "${lib.getExe cfg.webBrowser}";
|
BROWSER = "${builtins.baseNameOf (lib.getExe cfg.webBrowser)}";
|
||||||
EDITOR = "${lib.getExe cfg.terminalEditor}";
|
EDITOR = "${builtins.baseNameOf (lib.getExe cfg.terminalEditor)}";
|
||||||
TERMINAL = "${lib.getExe cfg.terminal}";
|
TERMINAL = "${builtins.baseNameOf (lib.getExe cfg.terminal)}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue