From 2b59d2a68eae623afcba218bcc7d6c145618e7b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 17 Feb 2026 23:08:26 +0100 Subject: [PATCH] opencrow: open up --- systems/ful/opencrow.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/systems/ful/opencrow.nix b/systems/ful/opencrow.nix index bfd9746..e16d213 100644 --- a/systems/ful/opencrow.nix +++ b/systems/ful/opencrow.nix @@ -16,7 +16,7 @@ services.opencrow = { enable = true; - extraPackages = [ pkgs.pi ]; + extraPackages = [ pkgs.pi pkgs.nix ]; environmentFiles = [ config.age.secrets.opencrow-matrix-token.path @@ -27,11 +27,17 @@ isReadOnly = true; }; + extraBindMounts."/nix/var/nix/daemon-socket" = { + hostPath = "/nix/var/nix/daemon-socket"; + isReadOnly = false; + }; + environment = { + PI_PERMISSION_LEVEL= "high"; OPENCROW_MATRIX_HOMESERVER = "https://matrix.4d2.org"; OPENCROW_MATRIX_USER_ID = "@fable:4d2.org"; - OPENCROW_PI_PROVIDER = "copilot"; - OPENCROW_PI_MODEL = "claude-sonnet-4-20250514"; + OPENCROW_PI_PROVIDER = "github-copilot"; + OPENCROW_PI_MODEL = "gemini-3-flash-preview"; OPENCROW_SOUL_FILE = "/run/secrets/opencrow-soul"; }; };