aboutsummaryrefslogtreecommitdiffhomepage
path: root/files/.profile
blob: 80d968e5670ebd46ece9cac66ebf8550358a4fab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

# Source nix environment
nix_profile="$NIX_SYSTEM_PATH/etc/profile.d/nix.sh"
# shellcheck source=$NIX_SYSTEM_PATH/etc/profile.d/nix.sh
[ -e "${nix_profile}" ] && . "${nix_profile}"

# Propagate UTF8
# https://github.com/NixOS/nix/issues/599#issuecomment-153885553
LOCALE_ARCHIVE="$NIX_SYSTEM_PATH/lib/locale/locale-archive"
export LOCALE_ARCHIVE

PATH="$NIX_PROFILE/bin:$PATH:$NIX_SYSTEM_PATH/bin"