Feature Request: Set nixpkgs.config values in devbox.json

This issue has been tracked since 2023-01-12.

Based on a request in #409 -- have a general way to set the global nixpkgs.config options via devbox.json. This would let users explicitly set options like allowUnfree or allowBroken based on their preference, instead of relying on our default choices.

From @calvinbaart's suggestion, we could do something like the following:

  "packages": [
  "shell": {
    "init_hook": null
  "nixpkgs": {
    "commit": "7a3f450e4af7c015a78d5d182499c8c6170418e5",
    "config": {
      "allowUnfree": true,
      "allowUnfreePredicate": [ "php.blackfire" ],
      "otherOptions" ...

We'd need to confirm which options we want to expose, or if we want to pass through to the underlying

savil wrote this answer on 2023-03-13

keep open

More Details About Repo
Owner Name jetpack-io
Repo Name devbox
Full Name jetpack-io/devbox
Language Go
Created Date 2022-08-18
Updated Date 2023-03-31
Star Count 4960
Watcher Count 19
Fork Count 68
Issue Count 42


Issue Title Created Date Updated Date