projects

dotfiles

My configuration files

feat: migrate repo to tangled

daniel daum committed parent a64100e commit d5e1b31Signed, not verified

SignedGitea couldn't verify the signature.

Showing 3 changed files with 28 additions and 127 deletions.

.gitea/workflows/mirror.yamldeleted +0 โˆ’20
@@ -1,20 +0,0 @@1name: mirror2on:3    push:4        branches: [main]5    workflow_dispatch:67jobs:8    mirror:9        runs-on: ubuntu-latest10        steps:11            - name: Checkout12              uses: actions/checkout@v413              with:14                  fetch-depth: 01516            - name: Push to GitHub17              run: |18                  git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/daniel-daum/dotfiles.git19                  git push github main --force20                  git push github --tags --force
.tangled/workflows/mirror.yamladded +28 โˆ’0
@@ -0,0 +1,28 @@1# mirrors main to github and gitea on every push. tangled is the source of2# truth, so both get force-pushed to match it. needs the GH_MIRROR_TOKEN and3# GITEA_MIRROR_TOKEN secrets45when:6    - event: ["push", "manual"]7      branch: ["main"]89engine: "nixery"1011steps:12    # spindle clones one commit deep (depth: 0 means 1 too), and the mirrors13    # need the whole history. this also points origin/main at the newest main,14    # so a late or retried run never rolls the mirrors back15    - name: "Fetch full history"16      command: |17          set -euo pipefail18          git fetch --unshallow origin1920    - name: "Mirror to GitHub"21      command: |22          set -euo pipefail23          git push --force "https://x-access-token:${GH_MIRROR_TOKEN}@github.com/daniel-daum/saturn.git" refs/remotes/origin/main:refs/heads/main2425    - name: "Mirror to Gitea"26      command: |27          set -euo pipefail28          git push --force "https://daniel-daum:${GITEA_MIRROR_TOKEN}@git.danieldaum.net/daniel-daum/saturn.git" refs/remotes/origin/main:refs/heads/main
pi_agent.txtdeleted +0 โˆ’107
@@ -1,107 +0,0 @@1==============================21. install drop3==============================4sudo apt install -y passt5ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')6curl -o /tmp/drop -L "https://github.com/wrr/drop/releases/latest/download/drop-linux-$ARCH"7mkdir -p ~/.local/bin8install /tmp/drop ~/.local/bin/9rm /tmp/drop10source ~/.profile1112# check (should print root)13unshare --user --map-root-user whoami1415==============================162. install pi + node via mise17==============================18mise use -g pi@latest19mise use -g node@lts2021==============================223. install extensions (outside drop)23==============================24pi install npm:pi-lens25pi install npm:@juicesharp/rpiv-todo26pi install npm:@juicesharp/rpiv-ask-user-question27pi install npm:pi-subagents28pi install npm:context-mode2930==============================314. lm studio provider32==============================33hx ~/.pi/agent/models.json3435{36  "providers": {37    "lmstudio": {38      "baseUrl": "http://host.orb.internal:1234/v1",39      "api": "openai-completions",40      "apiKey": "lm-studio",41      "compat": {42        "supportsDeveloperRole": false43      },44      "models": [45        {46          "id": "qwen3.6-35b-a3b-splash",47          "name": "Qwen3.6 35B A3B",48          "input": ["text", "image"],49          "contextWindow": 262144,50          "reasoning": false51        },52        {53          "id": "swift-1.5-qwen3.8-27b-splash",54          "name": "Swift 1.5 Qwen3.8 27B",55          "input": ["text", "image"],56          "contextWindow": 262144,57          "reasoning": false58        }59      ]60    }61  }62}6364==============================655. default model66==============================67hx ~/.pi/agent/settings.json6869# add (don't replace the file):70"defaultProvider": "lmstudio",71"defaultModel": "swift-1.5-qwen3.8-27b-splash"7273==============================746. drop base config75==============================76drop edit base7778# add to mounts = [ ... ]79  "~/.local/share/mise",80  "~/.config/mise",81  "~/.pi::rw",8283==============================847. edit ~/.bashrc mise line85==============================86# replace:87eval "$(~/.local/bin/mise activate bash)"88# with:89[ -x ~/.local/bin/mise ] && eval "$(~/.local/bin/mise activate bash)"9091==============================928. run pi in a project93==============================94cd ~/starforge/PROJECT95drop init96drop run pi9798# checks inside pi99/model100/todos101# ask pi to run: ls ~/.ssh / touch .git/x  (both should fail)102103==============================1049. zed terminal thread105==============================106# settings > terminal thread init command107drop run pi