Last active
March 18, 2025 22:42
-
-
Save storopoli/ccd1a5250433dce82e92c0035ffe5fcd to your computer and use it in GitHub Desktop.
Distrobox Dev Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# User specific environment | |
if ! [[ $PATH =~ $HOME/.local/bin:$HOME/bin: ]]; then | |
PATH=$HOME/.local/bin:$HOME/bin:$PATH | |
fi | |
export PATH | |
SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) | |
export SSH_AUTH_SOCK | |
GPG_TTY=$(tty) | |
export GPG_TTY | |
gpg --card-status >/dev/null 2>&1 | |
# History control | |
shopt -s histappend | |
HISTCONTROL=ignoreboth | |
HISTSIZE=32768 | |
HISTFILESIZE="${HISTSIZE}" | |
# Distrobox | |
export CARGO_HOME=/usr/local/share/cargo | |
export RUSTUP_HOME=/usr/local/share/rustup | |
if command -v nvim --version >/dev/null 2>&1; then | |
export EDITOR=nvim | |
else | |
export EDITOR=vim | |
fi | |
if [ -f /etc/profile.d/bash_completion.sh ]; then | |
. /etc/profile.d/bash_completion.sh | |
fi | |
# Use bash-completion, if available | |
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && | |
. /usr/share/bash-completion/bash_completion | |
if [ -f $CARGO_HOME/env ]; then | |
. $CARGO_HOME/env | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[zed] | |
image=ghcr.io/ublue-os/arch-distrobox-amdgpupro:latest | |
nvidia=false | |
pull=true | |
init=false | |
start_now=true | |
# Basic utilities for terminal use | |
additional_packages="acpi lm_sensors desktop-file-utils" | |
additional_packages="gawk grep busybox perl gzip ca-certificates perl openbsd-netcat bind net-tools openssl rsync tree curl wl-clipboard bash-completion" | |
# Development tools | |
additional_packages="git github-cli jq typst python python-pip rustup zig npm ghc ghc-static haskell-language-server" | |
# Alpen Labs | |
additional_packages="clang taplo poetry gmp pnpm bitcoin-daemon cargo-nextest" | |
# Zed | |
additional_packages="zed" | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/flatpak | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/podman | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open | |
init_hooks=mkdir -p /usr/local/share/rustup | |
init_hooks=mkdir -p /usr/local/share/cargo | |
init_hooks=chown -R user /usr/local/share/rustup | |
init_hooks=chown -R user /usr/local/share/cargo | |
init_hooks=rustup-init -y | |
init_hooks=rustup default stable | |
init_hooks=rustup component add rust-analyzer | |
exported_bins="/usr/bin/gh" | |
exported_apps="zeditor" | |
[cursor] | |
image=ghcr.io/ublue-os/arch-distrobox-amdgpupro:latest | |
nvidia=false | |
pull=true | |
init=false | |
start_now=true | |
# Basic utilities for terminal use | |
additional_packages="acpi lm_sensors desktop-file-utils" | |
additional_packages="gawk grep busybox perl gzip ca-certificates perl openbsd-netcat bind net-tools openssl rsync tree curl wl-clipboard bash-completion" | |
# Development tools | |
additional_packages="git github-cli jq typst python python-pip uv rustup zig npm ghc ghc-static haskell-language-server" | |
# Alpen Labs | |
additional_packages="clang taplo poetry gmp pnpm bitcoin-daemon cargo-nextest" | |
# Cursor deps | |
additional_packages="nss atkmm cups gtk3 alsa-lib" | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/flatpak | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/podman | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open | |
init_hooks=mkdir -p /usr/local/share/rustup | |
init_hooks=mkdir -p /usr/local/share/cargo | |
init_hooks=chown -R user /usr/local/share/rustup | |
init_hooks=chown -R user /usr/local/share/cargo | |
init_hooks=rustup-init -y | |
init_hooks=rustup default stable | |
init_hooks=rustup component add rust-analyzer | |
exported_bins="/usr/bin/gh" | |
[dev] | |
image=ghcr.io/ublue-os/wolfi-toolbox | |
nvidia=false | |
pull=true | |
init=false | |
start_now=true | |
# Basic utilities for terminal use | |
additional_packages="lm-sensors" | |
additional_packages="gawk grep build-base busybox perl gzip ca-certificates-bundle perl netcat-openbsd bind-tools net-tools openssl rsync tree curl wl-clipboard wolfictl bash-completion" | |
# TUI tools | |
additional_packages="btop lazygit zellij neovim" | |
# Development tools | |
# missing: typst typstyle dust | |
additional_packages="git jq gh fzf ripgrep fd bat delta zoxide eza just python3 python3-dev py3-pip uv rustup zig npm" | |
# Alpen Labs | |
additional_packages="openssl-dev clang poetry gmp-dev pnpm" | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/flatpak | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/podman | |
init_hooks=ln -sf /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open | |
init_hooks=mkdir -p /usr/local/share/rustup | |
init_hooks=mkdir -p /usr/local/share/cargo | |
init_hooks=chown -R user /usr/local/share/rustup | |
init_hooks=chown -R user /usr/local/share/cargo | |
init_hooks=rustup-init -y | |
init_hooks=rustup default stable | |
init_hooks=rustup component add rust-analyzer | |
exported_bins="/usr/bin/gh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run
distrobox-export --app cursor
then profit