(autogenerated-issue) installer fails immediately after answering nix flake enablement #74

Open
opened 2026-03-29 15:13:29 +00:00 by jpeeler · 1 comment

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `encrypt_apfs_volume` errored
   3: The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3`, consider removing the volume with `diskutil apfs deleteVolume "Nix Store"` (if you receive error -69888, you may need to run `sudo launchctl bootout system/org.nixos.darwin-store` and `sudo launchctl bootout system/org.nixos.nix-daemon` first)

Metadata

key value
version 3.95.0
os macos
arch aarch64

I apparently have an old nix store at /nix which the installer didn't expect.

❯ curl -sSf -L https://install.lix.systems/lix | sh -s -- install
info: downloading installer
 INFO nix-installer v3.95.0
`lix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
 INFO nix-installer v3.95.0


Welcome to the Lix installer! Just a couple of quick questions.

Flakes are an experimental feature, but widely used in the community.
You can change this later in `/etc/nix/nix.conf`.

Enable flakes? ([Y]es/[n]o): Y 

QUICK NOTE: we've enabled the experimental nix command for you!
Be aware that commands starting with `nix ` such as `nix build` may change syntax.


   0: Planner error
   1: Error executing action
   2: Action `encrypt_apfs_volume` errored
   3: The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3`, consider removing the volume with `diskutil apfs deleteVolume "Nix Store"` (if you receive error -69888, you may need to run `sudo launchctl bootout system/org.nixos.darwin-store` and `sudo launchctl bootout system/org.nixos.nix-daemon` first)

Location:
   src/cli/subcommand/install/mod.rs:226
## Error ``` Error: 0: Planner error 1: Error executing action 2: Action `encrypt_apfs_volume` errored 3: The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3`, consider removing the volume with `diskutil apfs deleteVolume "Nix Store"` (if you receive error -69888, you may need to run `sudo launchctl bootout system/org.nixos.darwin-store` and `sudo launchctl bootout system/org.nixos.nix-daemon` first) ``` ## Metadata |key|value| |--|--| |**version**|3.95.0| |**os**|macos| |**arch**|aarch64| I apparently have an old nix store at /nix which the installer didn't expect. ```bash ❯ curl -sSf -L https://install.lix.systems/lix | sh -s -- install info: downloading installer INFO nix-installer v3.95.0 `lix-installer` needs to run as `root`, attempting to escalate now via `sudo`... INFO nix-installer v3.95.0 Welcome to the Lix installer! Just a couple of quick questions. Flakes are an experimental feature, but widely used in the community. You can change this later in `/etc/nix/nix.conf`. Enable flakes? ([Y]es/[n]o): Y QUICK NOTE: we've enabled the experimental nix command for you! Be aware that commands starting with `nix ` such as `nix build` may change syntax. 0: Planner error 1: Error executing action 2: Action `encrypt_apfs_volume` errored 3: The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3`, consider removing the volume with `diskutil apfs deleteVolume "Nix Store"` (if you receive error -69888, you may need to run `sudo launchctl bootout system/org.nixos.darwin-store` and `sudo launchctl bootout system/org.nixos.nix-daemon` first) Location: src/cli/subcommand/install/mod.rs:226 ```
Author

I unmounted the old nix store, removed the entry from /etc/fstab, and now an existing group (nixbld) exists. Would be nice to purge all of this automatically, or help more.

some commands:
sudo diskutil unmount /dev/disk3s7
diskutil apfs deleteVolume "Nix Store"
sudo vifs (fstab)

sudo dscl . -delete /Groups/nixbld

dscl . list /Users | grep nix
sudo sysadminctl -deleteUser _nixbld9 -purgeHome

sudo rm /etc/nix/nix.conf

Appears I had an old flox installation that I clearly did not uninstall properly.

I unmounted the old nix store, removed the entry from /etc/fstab, and now an existing group (nixbld) exists. Would be nice to purge all of this automatically, or help more. some commands: sudo diskutil unmount /dev/disk3s7 diskutil apfs deleteVolume "Nix Store" sudo vifs (fstab) sudo dscl . -delete /Groups/nixbld dscl . list /Users | grep nix sudo sysadminctl -deleteUser _nixbld9 -purgeHome sudo rm /etc/nix/nix.conf Appears I had an old flox installation that I clearly did not uninstall properly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix-installer#74
No description provided.