From 45bb0d11161b1c5077a1415eed6dbd0fd25ccb6a Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 20 Sep 2024 14:16:56 +0200 Subject: Change dotfiles structure, and add guix-channels declaration. --- files/.bash_profile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 files/.bash_profile (limited to 'files/.bash_profile') 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 @@ +# Honor per-interactive-shell startup file +if [ -f ~/.bashrc ]; then . ~/.bashrc; fi + +export GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles + +for i in $GUIX_EXTRA_PROFILES/*; do + profile=$i/$(basename "$i") + if [ -f "$profile"/etc/profile ]; then + GUIX_PROFILE="$profile" + . "$GUIX_PROFILE"/etc/profile + fi + unset profile +done + +export NIX_PATH=~/.nix-defexpr/channels/nixos/ + +. .profile -- cgit v1.2.3