Skip to content

Commit

Permalink
feat(nix): Enable persistent volume for shared nix-store
Browse files Browse the repository at this point in the history
  • Loading branch information
max06 authored Sep 23, 2024
1 parent d1c0cc2 commit cbf7283
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/nix/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@
"containerEnv": {
"PATH": "/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:${PATH}"
},
"mounts": [
{
"source": "devcontainer-nix-store",
"target": "/nix/store",
"type": "volume"
}
],
"entrypoint": "/usr/local/share/nix-entrypoint.sh"
}

0 comments on commit cbf7283

Please sign in to comment.