Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active June 8, 2020 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/40e0ed66dc3c3dbc0b0b5a99491b5096 to your computer and use it in GitHub Desktop.
Save LnL7/40e0ed66dc3c3dbc0b0b5a99491b5096 to your computer and use it in GitHub Desktop.
FROM lnl7/nix:2.3.6
RUN nix-store --repair-path $(nix-store -qR $(which nix))
COPY entrypoint.sh /
ENTRYPOINT /entrypoint.sh
nix copy --to local\?root=/mnt $(which nix) --no-check-sigs
nix-daemon --store local\?root=/mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment