Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running nixos-install from SOQuartz SD image gives 'flakes' is disabled error #26

Open
msgilligan opened this issue Oct 8, 2024 · 0 comments

Comments

@msgilligan
Copy link

msgilligan commented Oct 8, 2024

When I try to use the SoQuartz SD Image to install NixOS to NVMe, I get the following error:

error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override

Using sudo NIX_CONFIG="experimental-features = nix-command flakes" nixos-install seems to work-around the problem, but when installing to NVMe from other NixOS installer images this isn't required. It seems like installers created with this image require flakes without flakes being enabled.

Normally, to enable flakes I would edit /etc/nixos/configuration.nix (NixOS) or /etc/nix/nix.conf (Nix package manager only), but the first one didn't exist and the second strongly discouraged modification.

@msgilligan msgilligan changed the title Running nixes-install from SOQuartz SD image gives 'flakes' is disabled error Running nixos-install from SOQuartz SD image gives 'flakes' is disabled error Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant