Something went wrong. Try again.
nix and nixos configs forked from filemagic.tngl.sh/nix
Something went wrong. Try again.
650 B · 16 lines
JSON
at main
1234567891011121314151617{ "name": "tangled-nix", "image": "nixos/nix:latest", "mounts": [ "source=nix-store,target=/nix/store,type=volume", "source=nix-root,target=/nix/var,type=volume", "source=${localWorkspaceFolder}/.devcontainer/nix.conf,target=/etc/nix/nix.conf,type=bind" ], "containerEnv": { "HOME": "/root", "PATH": "/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:${containerEnv:PATH}" }, "remoteUser": "root", "postCreateCommand": "nix profile add .#devShells.x86_64-linux.default && echo '[ -n \"$IN_NIX_SHELL\" ] || eval \"$(nix print-dev-env 2>/dev/null)\"' >> /root/.bashrc", "postAttachCommand": "nix develop"}