feat: update .bashrc for GPU configuration and add Miniconda to PATH; remove unused packages from Nix configuration
This commit is contained in:
9
.bashrc
9
.bashrc
@ -3,6 +3,12 @@ HISTFILE=~/.bash_history
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000 # Adjusted to match both histfile and size criteria
|
||||
|
||||
# GPU Related shenanigans
|
||||
if [ "$(hostname)" = "mennos-desktop" ]; then
|
||||
export DRI_PRIME=1
|
||||
export MESA_VK_DEVICE_SELECT=1002:744c
|
||||
fi
|
||||
|
||||
# Docker Compose Alias (Mostly for old shell scripts)
|
||||
alias docker-compose='docker compose'
|
||||
|
||||
@ -76,6 +82,9 @@ if [ -d "$HOME/.local/share/pnpm" ]; then
|
||||
export PATH=$PATH:$HOME/.local/share/pnpm
|
||||
fi
|
||||
|
||||
# Miniconda
|
||||
export PATH="$HOME/miniconda3/bin:$PATH"
|
||||
|
||||
# In case $HOME/.flutter/flutter/bin is found, we can add it to the PATH
|
||||
if [ -d "$HOME/.flutter/flutter/bin" ]; then
|
||||
export PATH=$PATH:$HOME/.flutter/flutter/bin
|
||||
|
Reference in New Issue
Block a user