chore: set experimental features and auto-allow flake config

This commit is contained in:
Technofab 2023-06-05 18:48:07 +02:00
parent bd8fe38c46
commit c6abbde797
No known key found for this signature in database
GPG key ID: A0AA746B951C8830

View file

@ -4,4 +4,7 @@ FROM nixos/nix:$NIX_TAG
COPY entrypoint.sh /usr/local/bin/
RUN mkdir -p ~/.config/nix && \
echo "experimental-features = nix-command flakes\naccept-flake-config = true" > ~/.config/nix/nix.conf
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]