Nushell

Primary interactive shell.

Managed by: nix/home/programs/nushell.nix and the files under nix/home/configs/nushell/

Config Files

Source filePurpose
nix/home/configs/nushell/env.common.nuShared PATH, editor, GitHub token, and Claude updater settings
nix/home/configs/nushell/env.darwin.numacOS PATH, Android SDK, and Colima socket
nix/home/configs/nushell/env.linux.nuLinux profile PATH
nix/home/configs/nushell/config.nuStartup hooks, prompt behavior, and ccc profile selector

PATH Order (highest to lowest priority)

  1. ~/Library/Android/sdk/emulator
  2. ~/Library/Android/sdk/platform-tools
  3. /etc/profiles/per-user/ranolp/bin (nix per-user)
  4. ~/.local/bin
  5. ~/.local/share/mise/shims
  6. /nix/var/nix/profiles/default/bin (nix default)
  7. Existing PATH, with Homebrew's bin and sbin appended on macOS

Environment Variables

VariableValue
ANDROID_HOME~/Library/Android/sdk
GITHUB_TOKENgh auth token (auto-populated)
DOCKER_HOSTunix://~/.colima/default/docker.sock
EDITORnvim
VISUALcode --wait

Aliases

AliasExpands To
catbat
lseza --icons=auto --git --group-directories-first --header --time-style=relative
rebuildsudo /run/current-system/sw/bin/darwin-rebuild switch --flake ~/.dotfiles/nix#ranolp-work-MBP-26
prgh pr view -w
repogh repo view -w
ggit
gstgit status
glgit pull
gpgit push
gcgit commit -v

nix-your-shell

nix develop and nix-shell drop into nushell instead of bash. The nushell snippet is generated at home-manager activation and cached at ~/.cache/nix-your-shell.nu.