2021-07-15 20:56:25 +07:00
|
|
|
{ config, ... }: {
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
|
PATH = builtins.concatStringsSep ":" [
|
|
|
|
|
"${config.home.homeDirectory}/.local/bin"
|
|
|
|
|
"${config.xdg.dataHome}/npm/bin"
|
|
|
|
|
"$PATH"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
EDITOR = "nvim";
|
|
|
|
|
|
|
|
|
|
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java";
|
|
|
|
|
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
|
|
|
|
DIRENV_LOG_FORMAT = "";
|
2022-04-10 13:25:22 +07:00
|
|
|
FZF_DEFAULT_COMMAND = "fd --type f --hidden --follow --exclude .git";
|
2021-07-15 20:56:25 +07:00
|
|
|
GNUPGHOME = "${config.xdg.dataHome}/gnupg";
|
|
|
|
|
GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
|
|
|
LESSHISTFILE = "-";
|
2023-09-26 23:32:38 +07:00
|
|
|
LUTRIS_SKIP_INIT = "1";
|
2024-01-17 15:16:45 +07:00
|
|
|
NIXOS_OZONE_WL = "1";
|
2021-07-15 20:56:25 +07:00
|
|
|
NODE_REPL_HISTORY = "${config.xdg.dataHome}/nodejs/repl_history";
|
|
|
|
|
NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
|
|
|
|
|
PUB_CACHE = "${config.xdg.cacheHome}/dart";
|
|
|
|
|
WGETRC = "${config.xdg.configHome}/wgetrc";
|
|
|
|
|
|
|
|
|
|
WINEPREFIX = "${config.xdg.dataHome}/wine64";
|
|
|
|
|
WINEARCH = "win64";
|
2023-12-15 21:51:49 +07:00
|
|
|
# Stops wine from creating filetype associations
|
|
|
|
|
WINEDLLOVERRIDES = "winemenubuilder.exe=d";
|
2021-07-15 20:56:25 +07:00
|
|
|
};
|
|
|
|
|
}
|