When working with Dev Containers, we are in the Dev X domain, where speed and "no-unexpected-warnings" matter.
Proposal
Avoid unexpected warnings by setting accept-flake-config = true; using flake level config is general practice in std-like projects where a Nix Power User provides an environment for team colleagues. The warnings are technically accurately motivated, but in practice just too noisy for these scenarios where the power user is trusted.
preLoadStorePaths: A list of store paths to preload/copy into the container.: This helps speed things up. You can preload some store paths to make the loading of the dev container faster for the user (i.e. avoid lazy fetching during startup by already baking those paths into the image)
Context
When working with Dev Containers, we are in the Dev X domain, where speed and "no-unexpected-warnings" matter.
Proposal
Avoid unexpected warnings by setting
accept-flake-config = true
; using flake level config is general practice instd
-like projects where a Nix Power User provides an environment for team colleagues. The warnings are technically accurately motivated, but in practice just too noisy for these scenarios where the power user is trusted.preLoadStorePaths: A list of store paths to preload/copy into the container.
: This helps speed things up. You can preload some store paths to make the loading of the dev container faster for the user (i.e. avoid lazy fetching during startup by already baking those paths into the image)