From cbc8a0ceea759650cb8faa03f1c7b36211602759 Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Mon, 30 Mar 2026 15:03:25 +0200 Subject: [PATCH 1/3] Consolidate build tool settings into 20-build-tools Merge 20-ninja, 20-sccache into a single file and add BUILDAH_FORMAT=docker for Podman health check support. Co-Authored-By: Claude Opus 4.6 (1M context) --- 20-ninja => 20-build-tools | 14 +++++++++++--- 20-sccache | 5 ----- 2 files changed, 11 insertions(+), 8 deletions(-) rename 20-ninja => 20-build-tools (57%) delete mode 100755 20-sccache diff --git a/20-ninja b/20-build-tools similarity index 57% rename from 20-ninja rename to 20-build-tools index 5f82b3a..17720ea 100755 --- a/20-ninja +++ b/20-build-tools @@ -1,12 +1,20 @@ # shellcheck shell=bash -# Configure C/C++ build tools: -# - Use Ninja instead of Make for CMake builds (faster parallel builds) -# - Use ccache to cache compilations and speed up rebuilds +# Build tool settings: Ninja/CMake, sccache, Podman/Buildah + if command -v ninja &>/dev/null; then export NINJA_STATUS="[%e sec | %p (%u remaining) | %o / sec] " export CMAKE_GENERATOR=Ninja fi + if command -v ccache &>/dev/null; then export CMAKE_C_COMPILER_LAUNCHER=ccache export CMAKE_CXX_COMPILER_LAUNCHER=ccache fi + +if command -v sccache &>/dev/null; then + export SCCACHE_CACHE_SIZE="40G" +fi + +if command -v podman &>/dev/null; then + export BUILDAH_FORMAT=docker +fi diff --git a/20-sccache b/20-sccache deleted file mode 100755 index 1f98288..0000000 --- a/20-sccache +++ /dev/null @@ -1,5 +0,0 @@ -# shellcheck shell=bash -# Configure sccache (shared compilation cache) -if command -v sccache &>/dev/null; then - export SCCACHE_CACHE_SIZE="40G" -fi From 54e7984666c8b8a57caf0aef12b35d3bde991cf8 Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Mon, 30 Mar 2026 15:04:42 +0200 Subject: [PATCH 2/3] Update OLLAMA_HOST to Tailscale IP address Co-Authored-By: Claude Opus 4.6 (1M context) --- 20-ollama | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20-ollama b/20-ollama index 3f3b49d..edf67d3 100755 --- a/20-ollama +++ b/20-ollama @@ -1,3 +1,3 @@ # shellcheck shell=bash # Point Ollama CLI at the remote Ollama server (default: goblin:11434) -export OLLAMA_HOST="${OLLAMA_HOST:-192.168.1.84:11434}" +export OLLAMA_HOST="${OLLAMA_HOST:-100.70.100.115:11434}" From fc3b8519a9eaf8ee355a5c67d96d11053d38e9d3 Mon Sep 17 00:00:00 2001 From: Ole-Morten Duesund Date: Tue, 21 Apr 2026 09:54:18 +0200 Subject: [PATCH 3/3] Add DOFFIN_API_KEY credential template and gitignore entry Follows the existing 99-eulerpool pattern: tracked .example template with a placeholder, real 99-doffin file kept out of git. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 1 + 99-doffin.example | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 99-doffin.example diff --git a/.gitignore b/.gitignore index 66f404c..73d3d75 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ 99-replicate 99-podman-kode 99-eulerpool +99-doffin diff --git a/99-doffin.example b/99-doffin.example new file mode 100644 index 0000000..26cfe3e --- /dev/null +++ b/99-doffin.example @@ -0,0 +1,5 @@ +# shellcheck shell=bash +# Doffin API key +# Copy to 99-doffin and fill in your key, then: chmod 700 99-doffin +#require_private "${BASH_SOURCE[0]}" +export DOFFIN_API_KEY=your-api-key-here