Files
qitech-control/docker-nix.sh
T
2025-03-17 14:04:42 +01:00

7 lines
237 B
Bash
Executable File

docker run -it --rm \
-v $(pwd):/workspace \
-w /workspace \
-e HOME=/tmp \
-e NIX_CONFIG="experimental-features = nix-command flakes" \
nixos/nix:latest \
bash -c "git config --global --add safe.directory /workspace && bash"