summaryrefslogtreecommitdiffstats
path: root/files/.bash_profile
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2024-09-20 14:16:56 +0200
commit45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a (patch)
treeb564c1c43920def6641cd482a7b4dca453dbc043 /files/.bash_profile
parent07dd8e37eb767c3dd6abf63e5e4a720cd778da15 (diff)
downloaddotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.tar.gz
dotfiles-45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a.zip
Change dotfiles structure, and add guix-channels declaration.
Diffstat (limited to 'files/.bash_profile')
-rw-r--r--files/.bash_profile17
1 files changed, 17 insertions, 0 deletions
diff --git a/files/.bash_profile b/files/.bash_profile
new file mode 100644
index 0000000..14802fe
--- /dev/null
+++ b/files/.bash_profile
@@ -0,0 +1,17 @@
1# Honor per-interactive-shell startup file
2if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
3
4export GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles
5
6for i in $GUIX_EXTRA_PROFILES/*; do
7 profile=$i/$(basename "$i")
8 if [ -f "$profile"/etc/profile ]; then
9 GUIX_PROFILE="$profile"
10 . "$GUIX_PROFILE"/etc/profile
11 fi
12 unset profile
13done
14
15export NIX_PATH=~/.nix-defexpr/channels/nixos/
16
17. .profile