2026-05-31 19:52:51 +03:00
|
|
|
{ lib, ... }: {
|
2024-04-17 05:52:14 +05:00
|
|
|
environment.variables = {
|
2024-05-01 15:43:11 +03:00
|
|
|
EDITOR = "hx";
|
2024-04-17 05:52:14 +05:00
|
|
|
RANGER_LOAD_DEFAULT_RC = "FALSE";
|
2026-05-31 19:52:51 +03:00
|
|
|
# GTK/Electron apps do not consistently use the portal picker unless this
|
|
|
|
|
# variable is present in the graphical session environment.
|
|
|
|
|
GTK_USE_PORTAL = "1";
|
|
|
|
|
|
|
|
|
|
# Qt/Telegram-like apps otherwise keep using their own picker. This makes
|
|
|
|
|
# them ask xdg-desktop-portal for file/folder selection.
|
|
|
|
|
QT_QPA_PLATFORMTHEME = lib.mkForce "xdgdesktopportal";
|
|
|
|
|
TDESKTOP_USE_GTK_FILE_DIALOG = "1";
|
|
|
|
|
|
2024-04-17 05:52:14 +05:00
|
|
|
};
|
|
|
|
|
}
|