2024-10-12
/Library/LaunchDaemons and ~/Library/LaunchDaemons)nix from /etc/synthetic.confnix from /etc/fstab (use vifs). Just run the vifs command in a terminal located in the /etc folder.~/.zshrc)Nix volume, then delete apfs volumerm -rf ~/.nix-*sudo dscl . delete /Users/_nixbld1~/Applications.nix* files in ~/, ~/.config and ~/.cache/etc/nix.nix* files in /var/root/ and /var/root/.cache/etc/bashrc, /etc/zshrc using your backup files if you have one. Backups look like bashrc.backup-before-nix and zshrc.backup-before-nix # This is what your .bashrc should look like
# System-wide .bashrc file for interactive bash(1) shells.
if [ -z "$PS1" ]; then
return
fi
PS1='\h:\W \u\$ '
# Make bash check its window size after a process completes
shopt -s checkwinsize
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM"
/etc/zshrc <YOUR_USER> with your user, and run sudo rm -rf /etc/nix /nix /var/root/.nix-profile /var/root/.nix-defexpr /var/root/.nix-channels /Users/<YOUR_USER>/.nix-profile /Users/<YOUR_USER>/.nix-defexpr /Users/<YOUR_USER>/.nix-channelscurl --proto '=https' --tlsv1.2 -sSf -L \
https://install.determinate.systems/nix | sh -s -- install