greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

fix(home/feats/cli/opencode): wtf

commit7580962031f046dff27b6517a130bba62948bb22
parentb16d5a74d2d74f4f7cbc65e4f4b1321a7e7d1425
authorlostduk <[email protected]>
date2026-03-02 06:39 +0000
home/features/cli/opencode.nix4+---
nixos/roles/workstation.nix22++++++++++++++++++----

2 files changed, -7/+19

home/features/cli/opencode.nix

@@ -5,9 +5,7 @@      settings = {       # go fuck ur self-      formatter = {-        disabled = true;-      };+      #formatter = "false";       permission = {         webfetch = "ask";         read = {

nixos/roles/workstation.nix

@@ -24,18 +24,32 @@ in {         ExecStart = pkgs.writeShellScript "" ''           set -e -          find '/home/lostduk' -mindepth 1 -maxdepth 1 \+          TARGET="/home/lostduk"++          find "$TARGET" -mindepth 1 -maxdepth 1 \             ! -name 'documents' \             ! -name '.gnupg' \             ! -name '.password-store' \-            ! -name '.config' \+            ! -name '.local' \             -exec rm -r {} + -          if [ -d /home/lostduk/.config ]; then-            find /home/lostduk/.config -mindepth 1 -maxdepth 1 \+          if [ -d "$TARGET/.local" ]; then+            find "$TARGET/.local" -mindepth 1 -maxdepth 1 \+              ! -name 'share' \+              -exec rm -r {} ++          fi++          if [ -d "$TARGET/.local/share" ]; then+            find "$TARGET/.local/share" -mindepth 1 -maxdepth 1 \               ! -name 'opencode' \               -exec rm -r {} +           fi++          if [ -d "$TARGET/.local/share/opencode" ]; then+            find "$TARGET/.local/share/opencode" -mindepth 1 -maxdepth 1 \+              ! -name 'auth.json' \+              -exec rm -r {} ++          fi         '';       };     };