adding guix configs
This commit is contained in:
parent
5dc21e5630
commit
ae77d05e2f
9 changed files with 346 additions and 0 deletions
23
guix/bash_profile
Normal file
23
guix/bash_profile
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Set up the system, user profile, and related variables.
|
||||
# /etc/profile will be sourced by bash automatically
|
||||
# Set up the home environment profile.
|
||||
if [ -f ~/.profile ]; then source ~/.profile; fi
|
||||
|
||||
# Honor per-interactive-shell startup file
|
||||
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi
|
||||
PS1='\u@\h \w${GUIX_ENVIRONMENT:+ [env]}\$ '
|
||||
# Set up Guix Home profile
|
||||
if [ -f ~/.profile ]; then . ~/.profile; fi
|
||||
|
||||
# Honor per-interactive-shell startup file
|
||||
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
|
||||
|
||||
# Merge search-paths from multiple profiles, the order matters.
|
||||
eval "$(guix package --search-paths \
|
||||
-p $HOME/.config/guix/current \
|
||||
-p $HOME/.guix-profile \
|
||||
-p /run/current-system/profile)"
|
||||
|
||||
# Prepend setuid programs.
|
||||
export PATH=/run/setuid-programs:$PATH
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue