You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I am just having my first go with nix-darwin, and I was attempting to install with:
dustin.krysak@dustin nixcfg % curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install --determinate
info: downloading installer https://install.determinate.systems/nix/tag/v3.0.0/nix-installer-aarch64-darwin
INFO nix-installer v3.0.0
`nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
Password:
INFO nix-installer v3.0.0
INFO For a more robust Nix installation, use the Determinate package for macOS: https://dtr.mn/determinate-nix
Nix install plan (v3.0.0)
Planner: macos
Configured settings:
* determinate_nix: true
Planned actions:
* Install Determinate Nixd
* Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
* Extract the bundled Nix (originally from /nix/store/cmirclrq3l1lnvm8psd1xrh5kiwabzx9-nix-binary-tarball-3.0.0/nix-3.0.0-aarch64-darwin.tar.xz) to `/nix/temp-install-dir`
* Create a directory tree in `/nix`
* Synchronize /nix/var ownership
* Move the downloaded Nix into `/nix`
* Synchronize /nix/store ownership
* Create build users (UID 351-382) and group (GID 350)
* Configure Time Machine exclusions
* Setup the default Nix profile
* Place the Nix configuration in `/etc/nix/nix.conf`
* Configure the shell profiles
* Configuring zsh to support using Nix in non-interactive shells
* Unload, then recreate a `launchctl` plist to put Nix into your PATH
* Configure the Determinate Nix daemon
* Remove directory `/nix/temp-install-dir`
Proceed? ([Y]es/[n]o/[e]xplain): y
INFO Step: Install Determinate Nixd
INFO Step: Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
INFO Step: Provision Nix
INFO Step: Create build users (UID 351-382) and group (GID 350)
INFO Step: Configure Time Machine exclusions
INFO Step: Configure Nix
INFO Step: Configuring zsh to support using Nix in non-interactive shells
INFO Step: Unload, then recreate a `launchctl` plist to put Nix into your PATH
INFO Step: Configure the Determinate Nix daemon
INFO Step: Remove directory `/nix/temp-install-dir`
Nix was installed successfully!
To get started using Nix, open a new shell or run `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`
dustin.krysak@dustin nixcfg % . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
dustin.krysak@dustin nixcfg % . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
dustin.krysak@dustin nixcfg % nix run nix-darwin/nix-darwin-24.11#darwin-rebuild -- switch
error: getting status of '/etc/nix/registry.json': Permission denied
But I keep getting this permission denied. And that file does not seem to exist.
dustin.krysak@dustin nixcfg % sudo ls /etc/nix
Password:
macos-keychain.crt nix.conf nix.custom.conf
Any ideas?
Cheers.
The text was updated successfully, but these errors were encountered:
Hi there, I am just having my first go with
nix-darwin
, and I was attempting to install with:But I keep getting this permission denied. And that file does not seem to exist.
Any ideas?
Cheers.
The text was updated successfully, but these errors were encountered: