jimbob的.dotfiles 脚步 安装nix(nix-base / examples / onboarding / nix.sh) 将nix添加到您的/etc/zshrc cat << EOF | sudo tee -a /etc/zshrc # Nix if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' fi # End Nix EOF 待办事项:也许您可以直接获取它,然后跳过注销步骤2。注销并重新登录3.启用实验性功能 cat << EOF | sudo tee -a /etc/nix/nix.conf experimental-features =