No description
bash-preexec arms its DEBUG trap from __bp_interactive_mode at the end of PROMPT_COMMAND, but its lazy installer runs mid-way through the first prompt because zoxide and ghostty append their hooks after it. Those hooks disarm the trap again, so the first interactive command of every session never reached preexec and atuin silently dropped it. Arm from PS0 instead, which is expanded once per interactive command before the DEBUG trap and is therefore independent of PROMPT_COMMAND ordering. Also guard the script against running twice: it is installed as both loginShellInit and interactiveShellInit, and /etc/profile sources /etc/bashrc, which registered starship's precmd/preexec hooks twice in every login shell. |
||
|---|---|---|
| docs | ||
| hosts | ||
| modules | ||
| scripts | ||
| templates | ||
| .gitignore | ||
| AGENTS.md | ||
| flake.lock | ||
| flake.nix | ||
| impermanence.md | ||
| laptop.md | ||
| README.md | ||
under heavy development
Adopt on an existing NixOS install (recommended)
Use a small local wrapper flake that imports this repo’s profile module and keeps
your machine’s hardware-configuration.nix for mounts/boot:
docs/adopt.md
Fresh install (wipes disk, uses disko)
sudo nix --experimental-features "nix-command flakes" \
run github:nix-community/disko/latest#disko-install -- \
--mode format \
--flake "git+https://codeberg.org/randogoth/nanuqsaurus.git#nanuqsaurus-btrfs" \
--disk main /dev/disk/by-id/<your-disk> \
--mount-point /mnt