2024-11-16 13:38:09 -05:00
|
|
|
{ lib, ... }: {
|
|
|
|
environment.variables = {
|
2024-11-20 12:10:28 -05:00
|
|
|
EDITOR = "nvim";
|
|
|
|
VISUAL = "code";
|
2024-11-17 14:38:38 -05:00
|
|
|
|
|
|
|
# XDG settings
|
|
|
|
XDG_CONFIG_HOME = lib.mkDefault "$HOME/.config";
|
2024-11-22 09:09:58 -05:00
|
|
|
|
|
|
|
# less settings
|
|
|
|
LESS = "-R";
|
|
|
|
# Fix unicode characters not being displayed properly in less or cat (bat)
|
|
|
|
# https://github.com/sharkdp/bat/issues/2578#issuecomment-1598332705
|
|
|
|
LESSUTFCHARDEF = "E000-F8FF:p,F0000-FFFFD:p,100000-10FFFD:p";
|
2024-11-17 14:38:38 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
environment.sessionVariables = {
|
|
|
|
# Enable Ozone Wayland support in Chromium and Electron applications
|
2024-11-17 16:04:58 -05:00
|
|
|
#TODO - This causes issues with VSCode until the November 2024 release.
|
|
|
|
# NIXOS_OZONE_WL = lib.mkDefault "1";
|
2024-11-16 13:38:09 -05:00
|
|
|
};
|
|
|
|
}
|