Move host-specific configuration

This commit is contained in:
2024-09-29 11:38:47 +02:00
parent 6cf696e1f6
commit 393e2c5db5
4 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1 @@
# Desktop configuration

18
.bashrc.d/hosts/flex-arch Normal file
View File

@@ -0,0 +1,18 @@
# Laptop configuration
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE="/usr/bin/micromamba";
export MAMBA_ROOT_PREFIX="/home/h/.local/share/micromamba";
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
if [ -f "/home/h/.local/share/micromamba/etc/profile.d/micromamba.sh" ]; then
. "/home/h/.local/share/micromamba/etc/profile.d/micromamba.sh"
else
export PATH="/home/h/.local/share/micromamba/bin:$PATH" # extra space after export prevents interference from conda init
fi
fi
unset __mamba_setup
# <<< mamba initialize <<<