feat: Configure opencode permissions and add Nix dev shell target

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
2025-08-13 12:12:24 +02:00
parent 1353cdf909
commit 2fc3724083
2 changed files with 11 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
-include .env
export
.PHONY: help deploy-cloud build-usb flash-usb local-vm-run clean status destroy-cloud
.PHONY: help deploy-cloud build-usb flash-usb local-vm-run clean status destroy-cloud opencode
DOMAIN := $(or $(WORKSHOP_DOMAIN),codecrispi.es)
USB_DEVICE := $(or $(USB_DEVICE),/dev/sdX)
@@ -98,3 +98,7 @@ local-vm-run:
clean:
rm -rf result .direnv terraform/.terraform terraform/terraform.tfstate*
@echo "Cleaned up build artifacts"
opencode:
@echo "Starting opencode in Nix dev shell..."
nix develop --command opencode