Skip to content

Add flakes as experimental feature to Nix config #607

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

Merged
merged 3 commits into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion modules/contributor/pages/testing-on-kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,17 @@ If you don't want to run an arbitrary shellscript directly from the web, have a

After this is done you also need to add a setting to your Nix config in `/etc/nix/nix.conf`:
----
experimental-features = nix-command
experimental-features = nix-command flakes
----

It is also recommended to enable parallel builds by also adding the following configs:
----
max-jobs = 24
cores = 8
----

Please adjust the number of `cores` to your system and set the `max-jobs` to e.g. the third of that.

Just installing Nix does not affect your system much, as it keeps all its configuration and installed packages separate from other package managers and you won't even notice it is there, unless you actually start using it.

== Using
Expand Down