summaryrefslogtreecommitdiff
path: root/home/ebisu/meta/system/variables.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-08-29 21:31:09 -0700
committerFuwn <[email protected]>2024-08-29 21:31:09 -0700
commit653f81eec07eb3e33c380810676a7feb45e1df43 (patch)
tree00d43c8f1b2cb2cf8ebaf1b7c1a4c026718033bb /home/ebisu/meta/system/variables.nix
parentsome stuff (diff)
downloadnixos-config-653f81eec07eb3e33c380810676a7feb45e1df43.tar.xz
nixos-config-653f81eec07eb3e33c380810676a7feb45e1df43.zip
some stuff
Diffstat (limited to 'home/ebisu/meta/system/variables.nix')
-rw-r--r--home/ebisu/meta/system/variables.nix97
1 files changed, 0 insertions, 97 deletions
diff --git a/home/ebisu/meta/system/variables.nix b/home/ebisu/meta/system/variables.nix
deleted file mode 100644
index 40964e0..0000000
--- a/home/ebisu/meta/system/variables.nix
+++ /dev/null
@@ -1,97 +0,0 @@
-{ pkgs, config, ... }:
-{
- home.sessionVariables = {
- # ref: https://github.com/nix-community/home-manager/issues/354#issuecomment-475803163
- LOCALES_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
- FLAKE = "${config.home.homeDirectory}/nixos-config";
-
- # Default programs
- EDITOR = "nvim";
- TERMINAL = "kitty";
- TERMINAL_PROG = "kitty";
- BROWSER = "zen";
-
- # Home directory clean-up
- # https://github.com/NixOS/nixpkgs/issues/224525#issuecomment-1945290961
- XDG_DATA_HOME = "${config.xdg.dataHome}";
- XDG_CONFIG_HOME = "${config.xdg.configHome}";
- XDG_STATE_HOME = "${config.xdg.stateHome}";
- XDG_CACHE_HOME = "${config.xdg.cacheHome}";
- NOTMUCH_CONFIG = "${config.xdg.configHome}/notmuch-config";
- # GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc-2.0";
- WGETRC = "${config.xdg.configHome}/wget/wgetrc";
- INPUTRC = "${config.xdg.configHome}/shell/inputrc";
- ZDOTDIR = "${config.xdg.configHome}/zsh";
- # GNUPGHOME="${config.xdg.dataHome}/gnupg";
- WINEPREFIX = "${config.xdg.dataHome}/wineprefixes/default";
- KODI_DATA = "${config.xdg.dataHome}/kodi";
- PASSWORD_STORE_DIR = "${config.xdg.dataHome}/password-store";
- TMUX_TMPDIR = "$XDG_RUNTIME_DIR";
- ANDROID_SDK_HOME = "${config.xdg.configHome}/android";
- CARGO_HOME = "${config.xdg.dataHome}/cargo";
- GOPATH = "${config.xdg.dataHome}/go";
- GOMODCACHE = "${config.xdg.cacheHome}/go/mod";
- ANSIBLE_CONFIG = "${config.xdg.configHome}/ansible/ansible.cfg";
- UNISON = "${config.xdg.dataHome}/unison";
- HISTFILE = "${config.xdg.dataHome}/history";
- MBSYNCRC = "${config.xdg.configHome}/mbsync/config";
- ELECTRUMDIR = "${config.xdg.dataHome}/electrum";
- PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc";
- SQLITE_HISTORY = "${config.xdg.dataHome}/sqlite_history";
- WAKATIME_HOME = "${config.xdg.configHome}/wakatime";
- NVM_DIR = "${config.xdg.dataHome}/nvm";
- CUDA_CACHE_PATH = "${config.xdg.cacheHome}/nv";
- DOCKER_CONFIG = "${config.xdg.configHome}/docker";
- RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
- NUGET_PACKAGES = "${config.xdg.cacheHome}/NuGetPackages";
- KERAS_HOME = "${config.xdg.stateHome}/keras";
- PARALLEL_HOME = "${config.xdg.configHome}/parallel";
- _JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java";
- NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
- NODE_REPL_HISTORY = "${config.xdg.dataHome}/node_repl_history";
- MPLAYER_HOME = "${config.xdg.configHome}/mplayer";
- BUNDLE_PATH = "${config.home.homeDirectory}/.gems";
- STEAM_APP_DIR = "${config.home.homeDirectory}/.steam";
- ANDROID_USER_HOME = "${config.xdg.dataHome}/android";
- ASDF_DATA_DIR = "${config.xdg.dataHome}/asdf";
- CABAL_CONFIG = "${config.xdg.configHome}/cabal/config";
- CABAL_DIR = "${config.xdg.dataHome}/cabal";
- DOTNET_CLI_HOME = "${config.xdg.dataHome}/dotnet";
- GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle";
- NIMBLE_DIR = "${config.xdg.dataHome}/nimble";
- REDISCLI_HISTFILE = "${config.xdg.dataHome}/redis/rediscli_history";
- STACK_ROOT = "${config.xdg.dataHome}/stack";
- STACK_XDG = 1;
-
- # Other program settings
- FZF_DEFAULT_OPTS = "--layout=reverse --height 40%";
- LESS = "R";
- LESS_TERMCAP_mb = "$(printf '%b' '')";
- LESS_TERMCAP_md = "$(printf '%b' '')";
- LESS_TERMCAP_me = "$(printf '%b' '')";
- LESS_TERMCAP_so = "$(printf '%b' '')";
- LESS_TERMCAP_se = "$(printf '%b' '')";
- LESS_TERMCAP_us = "$(printf '%b' '')";
- LESS_TERMCAP_ue = "$(printf '%b' '')";
- LESSOPEN = "| highlight -O ansi %s 2>/dev/null";
- QT_QPA_PLATFORMTHEME = "gtk2";
- MOZ_USE_XINPUT2 = "1";
- AWT_TOOLKIT = "MToolkit wmname LG3D";
- _JAVA_AWT_WM_NONREPARENTING = 1;
- # GPG_TTY=$(tty);
- # GIT_ASKPASS = "${pkgs.ksshaskpass}/bin/ksshaskpass";
- # SSH_ASKPASS = "${pkgs.ksshaskpass}/bin/ksshaskpass";
- # SSH_ASKPASS_REQUIRE = "prefer";
- OPENAI_API_KEY = "sk-proj-lp1rme6lIEbfNeg4sbMQT3BlbkFJoWb5uwnraatH6HOkymqr";
- NNN_FIFO = "/tmp/nnn.fifo";
- _Z_DATA = "${config.xdg.dataHome}/z";
- W3M_DIR = "${config.xdg.dataHome}/w3m";
- VMODULES = "${config.xdg.dataHome}/vmodules";
- TEXMFVAR = "${config.xdg.cacheHome}/texlive/texmf-var";
- BUNDLE_USER_CONFIG = "${config.xdg.configHome}/bundle";
- BUNDLE_USER_CACHE = "${config.xdg.cacheHome}/bundle";
- BUNDLE_USER_PLUGIN = "${config.xdg.dataHome}/bundle";
- PSQL_HISTORY = "${config.xdg.dataHome}/psql_history";
- PKG_CACHE_PATH = "${config.xdg.cacheHome}/pkg-cache";
- };
-}