Skip to content

Instantly share code, notes, and snippets.

@kevingriffin
Created January 21, 2021 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevingriffin/ec289a13ed6176f96e4b9f9e1d250637 to your computer and use it in GitHub Desktop.
Save kevingriffin/ec289a13ed6176f96e4b9f9e1d250637 to your computer and use it in GitHub Desktop.
fish setEnvironment
#env | grep NIX_PATH
# NIX_PATH=/home/kevin/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos :nixos-config=/etc/nixos/configuration.nix :/nix/var/nix/profiles/per-user/root/channels
# DO NOT EDIT -- this file has been generated automatically.
# Prevent this file from being sourced by child shells.
set -gx __NIXOS_SET_ENVIRONMENT_DONE '1'
set -gx EDITOR 'nvim'
set -gx FZF_CTRL_T_COMMAND 'rg --files --hidden -g=\'!.git\''
set -gx FZF_DEFAULT_COMMAND 'rg --files --hidden -g=\'!.git\''
set -gx GTK_PATH "$HOME"'/.nix-profile/lib/gtk-2.0:'"$HOME"'/.nix-profile/lib/gtk-3.0:/etc/profiles/per-user/'"$USER"'/lib/gtk-2.0:/etc/profiles/per-user/'"$USER"'/lib/gtk-3.0:/nix/var/nix/profiles/default/lib/gtk-2.0:/nix/var/nix/profiles/default/lib/gtk-3.0:/run/current-system/sw/lib/gtk-2.0:/run/current-system/sw/lib/gtk-3.0'
set -gx INFOPATH "$HOME"'/.nix-profile/info:'"$HOME"'/.nix-profile/share/info:/etc/profiles/per-user/'"$USER"'/info:/etc/profiles/per-user/'"$USER"'/share/info:/nix/var/nix/profiles/default/info:/nix/var/nix/profiles/default/share/info:/run/current-system/sw/info:/run/current-system/sw/share/info'
set -gx KDEDIRS "$HOME"'/.nix-profile:/etc/profiles/per-user/'"$USER"':/nix/var/nix/profiles/default:/run/current-system/sw'
set -gx LANG 'en_US.UTF-8'
set -gx LIBEXEC_PATH "$HOME"'/.nix-profile/lib/libexec:/etc/profiles/per-user/'"$USER"'/lib/libexec:/nix/var/nix/profiles/default/lib/libexec:/run/current-system/sw/lib/libexec'
set -gx LOCALE_ARCHIVE '/run/current-system/sw/lib/locale/locale-archive'
set -gx MOZ_PLUGIN_PATH "$HOME"'/.nix-profile/lib/mozilla/plugins:/etc/profiles/per-user/'"$USER"'/lib/mozilla/plugins:/nix/var/nix/profiles/default/lib/mozilla/plugins:/run/current-system/sw/lib/mozilla/plugins'
set -gx NIXPKGS_CONFIG '/etc/nix/nixpkgs-config.nix'
set -gx NIX_PATH 'nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels'
set -gx NO_AT_BRIDGE '1'
set -gx OPENSC '/usr/lib/opensc-pkcs11.so'
set -gx PAGER 'less -R'
set -gx PATH "$HOME"'/.nix-profile/bin:/etc/profiles/per-user/'"$USER"'/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin'
set -gx QTWEBKIT_PLUGIN_PATH "$HOME"'/.nix-profile/lib/mozilla/plugins/:/etc/profiles/per-user/'"$USER"'/lib/mozilla/plugins/:/nix/var/nix/profiles/default/lib/mozilla/plugins/:/run/current-system/sw/lib/mozilla/plugins/'
set -gx QT_PLUGIN_PATH "$HOME"'/.nix-profile/lib/qt4/plugins:'"$HOME"'/.nix-profile/lib/kde4/plugins:/etc/profiles/per-user/'"$USER"'/lib/qt4/plugins:/etc/profiles/per-user/'"$USER"'/lib/kde4/plugins:/nix/var/nix/profiles/default/lib/qt4/plugins:/nix/var/nix/profiles/default/lib/kde4/plugins:/run/current-system/sw/lib/qt4/plugins:/run/current-system/sw/lib/kde4/plugins'
set -gx SSH_ASKPASS ''
set -gx TERMINFO_DIRS "$HOME"'/.nix-profile/share/terminfo:/etc/profiles/per-user/'"$USER"'/share/terminfo:/nix/var/nix/profiles/default/share/terminfo:/run/current-system/sw/share/terminfo'
set -gx TZDIR '/etc/zoneinfo'
set -gx XCURSOR_PATH "$HOME"'/.icons:'"$HOME"'/.local/share/icons:'"$HOME"'/.nix-profile/share/icons:'"$HOME"'/.nix-profile/share/pixmaps:/etc/profiles/per-user/'"$USER"'/share/icons:/etc/profiles/per-user/'"$USER"'/share/pixmaps:/nix/var/nix/profiles/default/share/icons:/nix/var/nix/profiles/default/share/pixmaps:/run/current-system/sw/share/icons:/run/current-system/sw/share/pixmaps'
set -gx XDG_CONFIG_DIRS '/etc/xdg:'"$HOME"'/.nix-profile/etc/xdg:/etc/profiles/per-user/'"$USER"'/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg'
set -gx XDG_DATA_DIRS '/nix/store/vr2xsnqnhlgz2vdyi40x1vpqgxg7d7fq-desktops/share:'"$HOME"'/.nix-profile/share:/etc/profiles/per-user/'"$USER"'/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share'
if [ -e "$HOME"'/.nix-defexpr/channels' ]
set -gx NIX_PATH "$HOME"'/.nix-defexpr/channels'(test -n "$NIX_PATH" && echo :$NIX_PATH || echo)
end
# Wrappers override other bin directories.
set -gx PATH '/run/wrappers/bin:'"$PATH"
if [ -z "$SSH_AUTH_SOCK" -a -n "$XDG_RUNTIME_DIR" ]
set -gx SSH_AUTH_SOCK "$XDG_RUNTIME_DIR"'/ssh-agent'
end
set -e ASPELL_CONF
for i in /run/current-system/sw /nix/var/nix/profiles/default /etc/profiles/per-user/$USER $HOME/.nix-profile
if [ -d "$i"'/lib/aspell' ]
set -gx ASPELL_CONF 'dict-dir '"$i"'/lib/aspell'
end
end
set -gx NIX_USER_PROFILE_DIR '/nix/var/nix/profiles/per-user/'"$USER"
set -gx NIX_PROFILES '/run/current-system/sw /nix/var/nix/profiles/default /etc/profiles/per-user/'"$USER"' '"$HOME"'/.nix-profile'
# reset TERM with new TERMINFO available (if any)
set -gx TERM "$TERM"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment