Compare commits

...
14 Commits
Author SHA1 Message Date
cupcakearmy bc8bf41580 add kicad 2026-11-22 00:31:04 +01:00
cupcakearmy 1d2e23a964 update deps 2026-11-22 00:30:48 +01:00
cupcakearmy 3ea100a66a tembo memory 2026-11-21 22:34:26 +01:00
cupcakearmy be136568ef Merge pull request #19 from 1virgola5/main
tinycast settings
2026-11-17 10:42:22 +01:00
nicco ea8f1229c1 remove old config files 2026-11-17 10:27:52 +01:00
nicco 938b0c0d66 add tinycast config 2026-11-17 10:27:45 +01:00
cupcakearmy 609d3f569a Merge pull request #18 from 1virgola5/main
stuff
2026-11-16 19:13:32 +01:00
nicco 48606a2869 update flake 2026-11-16 13:57:40 +01:00
nicco 59118ef446 fix colima setup 2026-11-16 13:57:34 +01:00
nicco e56f08bf24 add colima 2026-11-16 13:48:19 +01:00
nicco 4bba5aa3b2 merge 2026-11-16 10:14:08 +01:00
cupcakearmy 78f42209bb clean command 2026-11-13 16:38:02 +01:00
cupcakearmy 7a4d555982 update 2026-11-13 16:22:22 +01:00
nicco e68af805bc chore: update 2026-11-12 10:36:07 +01:00
12 changed files with 697 additions and 15 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
# Utility
"macpacker"
"keycastr"
"abue-ammar/tinycast/tinycast"
"tinycast"
"ghostty"
"iina"
"cap"
-1
View File
@@ -84,7 +84,6 @@
g = "lazygit";
d = "lazydocker";
k = "kubectl";
colima-start = "colima start --cpu 4 --memory 8 --vm-type=vz --vz-rosetta";
};
};
+120
View File
@@ -0,0 +1,120 @@
---
name: Tembo
description: Tembo is the project memory (elephant never forgets). Reads .tembo/notes.md facts and .tembo/log.md change log. Use at session start, after discovering a non-obvious project fact, or when flushing a session before pausing.
---
# Tembo
Project memory. Elephant never forgets, but keep it small:
```
.tembo/notes.md durable facts, read at session start
.tembo/log.md short chronological log of meaningful changes
```
Project root = `git rev-parse --show-toplevel`, else the current directory. If
there is no `.tembo/` yet, create it only when there is something worth
writing. Never write memory outside the project root.
## Budgets
Hard limits, enforced on every write:
| File | Limit | Overflow |
|---|---|---|
| `notes.md` | 40 lines | merge duplicates, then drop the least useful |
| `log.md` | 60 lines | drop oldest |
If you cannot fit a fact, it is not worth keeping.
## Format
One line per entry, newest last, `- [YYYY-MM-DD] tag: text`. Tags: `hardware`,
`build`, `cmd`, `api`, `gotcha`.
`notes.md`:
```markdown
# Tembo memory
<!-- Durable, non-obvious facts. Max 40 lines. One per line. -->
- [2026-11-21] gotcha: KiCad 10 pin-header footprints put pad 1 at the origin, not the centre.
- [2026-11-21] cmd: KiCad python bindings only run under the bundled 3.9 interpreter.
```
`log.md`:
```markdown
# Tembo log
<!-- One line per meaningful change. Max 60 lines. Newest last. -->
- [2026-11-21] Routed the carrier, DRC 0/0, exported gerbers.
```
## Read
At the start of work in a project with `.tembo/`:
1. Read `notes.md` in full.
2. Read the last ~20 lines of `log.md` for recent context.
Do not announce that you read them. Use them silently.
## Write
Append a `notes.md` line when a fact passes this test:
> Would this have saved 10 minutes if I had known it at the start?
Good: non-obvious tool behaviour, hardware/board quirks, commands that are not
in the README, decisions with a reason, traps.
Bad, do not write:
- anything obvious from the code, `git log`, README or AGENTS.md
- secrets, tokens, personal data, customer data
- code blocks, stack traces, file dumps, long URLs
- "created X" unless the *why* or a non-obvious constraint matters
- plans, TODOs, speculation
Append a `log.md` line when a meaningful unit of work is done: feature landed,
bug root-caused, board routed, dependency swapped. Not every file edit.
Never rewrite or reorder existing entries. Pruning to budget is the only edit
allowed.
## Remember (`/tembo <fact>`)
When invoked with an argument, treat it as a fact to keep:
1. Read both files.
2. Rewrite the argument into one line: `- [YYYY-MM-DD] tag: text`.
3. Pick the closest tag; write it as stated, do not invent context.
4. Dedupe against existing lines; append.
5. Prune to budget. Confirm in one short line.
If the argument is too vague to be useful later, ask once for the missing
detail instead of guessing.
## Flush (`/tembo` with no argument)
Run this before pausing or ending a session.
1. Review the session: what was discovered, what changed, what was verified.
2. Read both files.
3. Pick 0-5 facts that pass the test above and are not already recorded.
4. Pick 0-4 log lines for meaningful changes.
5. Dedupe against existing lines; merge near-duplicates.
6. Append, prune to budget, keep one blank line after the HTML comment.
7. Report two lines: facts added, log lines added. If nothing qualified, say
`tembo: nothing worth keeping` and write nothing.
Do not ask for confirmation. Do not paste file contents back; a short summary
is enough.
## Safety
- Never store secrets or credentials.
- Never delete `.tembo/` or another author's facts wholesale.
- If `.tembo/` is gitignored, still follow the same format; it is just local.
+288
View File
@@ -0,0 +1,288 @@
# Number of CPUs to be allocated to the virtual machine.
# Default: 2
cpu: 4
# Size of the disk in GiB to be allocated to the virtual machine for container data.
# NOTE: value can only be increased after virtual machine has been created.
#
# Default: 100
disk: 100
# Size of the memory in GiB to be allocated to the virtual machine.
# Default: 2
memory: 8
# Architecture of the virtual machine (x86_64, aarch64, host).
#
# NOTE: value cannot be changed after virtual machine is created.
# Default: host
arch: host
# Container runtime to be used (docker, containerd).
#
# NOTE: value cannot be changed after virtual machine is created.
# Default: docker
runtime: docker
# AI model runner (docker, ramalama).
# Both require krunkit VM type for GPU access.
# docker: Uses Docker Model Runner.
# ramalama: Uses Ramalama.
#
# Default: docker
modelRunner: ""
# Set custom hostname for the virtual machine.
# Default: colima
# colima-profile_name for other profiles
hostname: colima
# Kubernetes configuration for the virtual machine.
kubernetes:
# Enable kubernetes.
# Default: false
enabled: false
# Kubernetes version to use.
# This needs to exactly match a k3s version https://github.com/k3s-io/k3s/releases
# Default: latest stable release
version: v1.33.3+k3s1
# Additional args to pass to k3s https://docs.k3s.io/cli/server
# Default: traefik is disabled
k3sArgs:
- --disable=traefik
# Kubernetes port to listen on
# A common port is 6443, though left unbound to ensure no port conflicts
# Default: pick random unbound port
port: 0
# Auto-activate on the Host for client access.
# Setting to true does the following on startup
# - sets as active Docker context (for Docker runtime).
# - sets as active Kubernetes context (if Kubernetes is enabled).
# - sets as active Incus remote (for Incus runtime).
# Default: true
autoActivate: true
# Network configurations for the virtual machine.
network:
# Assign reachable IP address to the virtual machine.
# NOTE: this is currently macOS only and ignored on Linux.
# Default: false
address: false
# Network mode for the virtual machine (shared, bridged).
# NOTE: this is currently macOS only and ignored on Linux.
# Default: shared
mode: shared
# Network interface to use for bridged mode.
# This is only used when mode is set to bridged.
# NOTE: this is currently macOS only and ignored on Linux.
# Default: en0
interface: en0
# Use the assigned IP address as the preferred route for the VM.
# Note: this only has an effect when `address` is set to true.
# Default: false
preferredRoute: false
# Custom DNS resolvers for the virtual machine.
#
# EXAMPLE
# dns: [8.8.8.8, 1.1.1.1]
#
# Default: []
dns: []
# DNS hostnames to resolve to custom targets using the internal resolver.
# This setting has no effect if a custom DNS resolver list is supplied above.
# It does not configure the /etc/hosts files of any machine or container.
# The value can be an IP address or another host.
#
# EXAMPLE
# dnsHosts:
# example.com: 1.2.3.4
dnsHosts:
host.docker.internal: host.lima.internal
# Replicate host IP addresses in the VM. This enables port forwarding to specific
# host IP addresses.
# e.g. `docker run --port 10.0.1.2:8080:8080 alpine` would only forward to the
# specified IP address.
#
# Default: false
hostAddresses: false
# Custom gateway address for the virtual machine.
# The last octet needs to be 2.
#
# EXAMPLE
# gatewayAddress: 192.168.10.2
#
# Default: 192.168.5.2
gatewayAddress: null
# ===================================================================== #
# ADVANCED CONFIGURATION
# ===================================================================== #
# Forward the host's SSH agent to the virtual machine.
# Default: false
forwardAgent: false
# Docker daemon configuration that maps directly to daemon.json.
# https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file.
# NOTE: some settings may affect Colima's ability to start docker. e.g. `hosts`.
#
# EXAMPLE - disable buildkit
# docker:
# features:
# buildkit: false
#
# EXAMPLE - add insecure registries
# docker:
# insecure-registries:
# - myregistry.com:5000
# - host.docker.internal:5000
#
# Colima default behaviour: buildkit enabled
# Default: {}
docker: {}
# Virtual Machine type (krunkit, qemu, vz)
# NOTE: this is macOS 13 only. For Linux and macOS <13.0, qemu is always used.
#
# vz is macOS virtualization framework and requires macOS 13.
# krunkit runs super‑light VMs on macOS/ARM64 with a focus on GPU access. It is experimental.
#
# NOTE: value cannot be changed after virtual machine is created.
# Default: qemu
vmType: vz
# Port forwarder for the virtual machine (ssh, grpc, none).
# ssh is more stable but supports only TCP.
# grpc supports both TCP and UDP, but is experimental.
# none disables port forwarding.
#
# Default: ssh
portForwarder: ssh
# Utilise rosetta for amd64 emulation (requires m1 mac and vmType `vz`)
# Default: false
rosetta: false
# Enable foreign architecture emulation via binfmt (e.g. amd64 on arm64, arm64 on amd64)
# Default: true
binfmt: true
# Enable nested virtualization for the virtual machine (requires m3 mac and vmType `vz`)
# Default: false
nestedVirtualization: false
# Volume mount driver for the virtual machine (virtiofs, 9p, sshfs).
#
# virtiofs is limited to macOS and vmType `vz`. It is the fastest of the options.
#
# 9p is the recommended and the most stable option for vmType `qemu`.
#
# sshfs is faster than 9p but the least reliable of the options (when there are lots
# of concurrent reads or writes).
#
# NOTE: value cannot be changed after virtual machine is created.
# Default: virtiofs (for vz), sshfs (for qemu)
mountType: virtiofs
# Propagate inotify file events to the VM.
# NOTE: this is experimental.
mountInotify: false
# The CPU type for the virtual machine (requires vmType `qemu`).
# Options available for host emulation can be checked with: `qemu-system-$(arch) -cpu help`.
# Instructions are also supported by appending to the cpu type e.g. "qemu64,+ssse3".
# Default: host
cpuType: host
# Custom provision scripts for the virtual machine.
# Provisioning scripts are executed on startup and therefore needs to be idempotent.
#
# EXAMPLE - script executed as root
# provision:
# - mode: system
# script: apt-get install htop vim
#
# EXAMPLE - script executed as user
# provision:
# - mode: user
# script: |
# [ -f ~/.provision ] && exit 0;
# echo provisioning as $USER...
# touch ~/.provision
#
# EXAMPLE - script executed after VM boot, before container runtimes start
# provision:
# - mode: after-boot
# script: echo "VM is up, containers not yet started"
#
# EXAMPLE - script executed after VM and container runtimes are ready
# provision:
# - mode: ready
# script: echo "everything is ready"
#
# Default: []
provision: []
# Modify ~/.ssh/config automatically to include a SSH config for the virtual machine.
# SSH config will still be generated in $COLIMA_HOME/ssh_config regardless.
# Default: true
sshConfig: true
# The port number for the SSH server for the virtual machine.
# When set to 0, a random available port is used.
#
# Default: 0
sshPort: 0
# Configure volume mounts for the virtual machine.
# Colima mounts user's home directory by default to provide a familiar
# user experience.
#
# EXAMPLE
# mounts:
# - location: ~/secrets
# writable: false
# - location: ~/projects
# writable: true
#
# Colima default behaviour: $HOME is mounted as writable.
# Default: []
mounts: []
# Specify a custom disk image for the virtual machine.
# When not specified, Colima downloads an appropriate disk image from Github at
# https://github.com/abiosoft/colima-core/releases.
# The file path to a custom disk image can be specified to override the behaviour.
#
# Default: ""
diskImage: ""
# Use the custom disk image even if it does NOT match a supported release image.
# WARNING: This bypasses validating the image and is a completely unsupported!
forceDiskImage: false
# Size of the disk in GiB for the root filesystem of the virtual machine.
# This value is ignored if no runtime is in use. i.e. `none` runtime.
# Default: 20
rootDisk: 20
# Environment variables for the virtual machine.
#
# EXAMPLE
# env:
# KEY: value
# ANOTHER_KEY: another value
#
# Default: {}
env: {}
+272
View File
@@ -0,0 +1,272 @@
{
"general": {
"launcherShortcut": "cmd+space",
"showInMenuBar": true,
"automaticallyCheckForUpdates": true,
"popToRootSeconds": 90,
"escapeKeyBehavior": "navigateBackOrClose",
"autoSwitchInputSource": null,
"supportReminders": false,
"language": "en"
},
"appearance": {
"theme": "system",
"animations": true,
"interfaceSize": "standard",
"compactMode": false,
"compactBarCommands": [
"command:clipboard-history",
"command:search-emoji",
"command:search-files",
"command:search-quicklinks"
],
"followCursorAcrossDisplays": true,
"dragToReposition": false
},
"hyperKey": {
"key": "none",
"includesShift": true,
"quickPress": "none",
"secureInputCompatibility": false
},
"calculator": {
"numberStyle": "system"
},
"search": {
"showsSuggestions": true,
"sensitivity": "medium"
},
"applications": {
"enabled": true,
"searchScopes": [
"/Applications",
"/Applications/Utilities",
"/System/Applications",
"/System/Applications/Utilities",
"/System/Library/CoreServices/Applications",
"/System/Volumes/Preboot/Cryptexes/App/System/Applications",
"/System/Library/CoreServices/Finder.app",
"~/Applications"
],
"apps": {
"ai.opencode.desktop": {
"shortcut": "option+4",
"alias": null,
"showInLauncher": true
},
"app.zen-browser.zen": {
"shortcut": "option+1",
"alias": null,
"showInLauncher": true
},
"com.mitchellh.ghostty": {
"shortcut": "option+3",
"alias": "t",
"showInLauncher": true
},
"com.spotify.client": {
"shortcut": "option+9",
"alias": null,
"showInLauncher": true
},
"com.tinyspeck.slackmacgap": {
"shortcut": "option+0",
"alias": null,
"showInLauncher": true
},
"dev.zed.Zed": {
"shortcut": "option+2",
"alias": null,
"showInLauncher": true
}
}
},
"systemSettings": {
"enabled": true,
"panes": {}
},
"systemActions": {
"enabled": true,
"actions": {}
},
"commands": {
"builtInEnabled": true,
"builtIn": {},
"enabled": false,
"showInLauncher": true
},
"quicklinks": {
"enabled": true,
"showInLauncher": true,
"opensNewWindow": false,
"passesSelectedText": false,
"confirmsBeforeDelete": true,
"commands": {}
},
"appleShortcuts": {
"enabled": false
},
"ai": {
"enabled": false,
"webSearch": false,
"choices": true,
"expandsReasoning": false,
"systemPrompt": "",
"systemPromptEnabled": true,
"retentionDays": "forever",
"opensTo": "recent",
"newChatAfterMinutes": 5,
"toolRounds": 25,
"commands": {}
},
"quickActions": {
"targetLanguage": "",
"commands": {}
},
"dictation": {
"mode": "toggle",
"shortcut": null,
"playsSounds": true,
"model": "redux",
"microphone": null,
"destination": "paste",
"adaptsCapitalization": true,
"liveInsertion": false,
"releaseAfterMinutes": 1,
"language": null
},
"fileSearch": {
"enabled": false,
"scopes": ["~"],
"ignorePatterns": [],
"removedDefaultPatterns": [],
"showInLauncher": false,
"commands": {}
},
"notes": {
"enabled": false,
"rendersMarkdown": true,
"showsFormattingBar": true,
"showsInMenuBar": false,
"folder": null,
"commands": {}
},
"snippets": {
"showInLauncher": true,
"folder": null,
"defaultAction": "paste",
"commands": {}
},
"navigation": {
"enabled": false,
"menuSearchShowsAppleMenu": false,
"menuSearchDisabledApps": [],
"commands": {}
},
"windowManagement": {
"enabled": true,
"showInLauncher": true,
"gap": 0,
"cycle": "off",
"wrapDisplays": true,
"keepProportions": true,
"layoutsShowInLauncher": true,
"roomsShowInLauncher": true,
"shortcuts": {
"left-half": null,
"right-half": null,
"top-half": null,
"bottom-half": null,
"top-left-quarter": null,
"top-right-quarter": null,
"bottom-left-quarter": null,
"bottom-right-quarter": null,
"first-three-fourths": null,
"last-three-fourths": null,
"first-third": null,
"center-third": null,
"last-third": null,
"first-two-thirds": null,
"last-two-thirds": null,
"maximize": null,
"almost-maximize": null,
"reasonable-size": null,
"maximize-height": null,
"maximize-width": null,
"center": null,
"center-half": null,
"center-two-thirds": null,
"make-larger": null,
"make-smaller": null,
"restore": null,
"move-left": null,
"move-right": null,
"move-up": null,
"move-down": null,
"move-to-left-edge": null,
"move-to-right-edge": null,
"move-to-top-edge": null,
"move-to-bottom-edge": null,
"next-display": null,
"previous-display": null,
"toggle-fullscreen": null,
"previous-space": null,
"next-space": null
},
"aliases": {},
"customSizes": [
{
"id": "34f8f38c-6694-4f1a-9ec6-2ff10d9bf257",
"name": "Middle Size",
"width": "1600pt",
"height": "1000pt",
"position": "center",
"offset": {
"x": 0,
"y": 0
},
"shortcut": null,
"alias": null
}
],
"layouts": [],
"rooms": [],
"commands": {}
},
"clipboard": {
"enabled": true,
"retentionDays": 90,
"defaultAction": "paste",
"disabledApps": ["com.apple.keychainaccess", "com.apple.Passwords"],
"commands": {
"clipboard-history": {
"shortcut": "cmd+h",
"alias": null,
"showInLauncher": true
}
}
},
"emoji": {
"skinTone": "none",
"gridColumns": 8,
"commands": {}
},
"calendar": {
"showInLauncher": true,
"launcherLimit": 5,
"span": "todayAndTomorrow",
"joinWindowMinutes": 5,
"autoJoinConfirms": true,
"autoJoinNamedProvidersOnly": false,
"meetingBrowser": null,
"menuBar": "disabled",
"menuBarUpcomingEvents": "today",
"menuBarLinkedEventsOnly": true,
"menuBarHidesWhenEmpty": false,
"hideCurrentEventAfterMinutes": "never",
"commands": {}
},
"extensions": {
"showInLauncher": true
}
}
Generated
+12 -12
View File
@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1793193205,
"narHash": "sha256-X6xa6sGA7RnJQuZGbFMC+K+KToWAlBDCCjJXfTwEPsw=",
"lastModified": 1795268568,
"narHash": "sha256-1RJm4DEu7YHJv94sjSY7sjqT+kHx/AUwmtUN4dtFBUo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "095fef2f265c3c0da4fe315efba8f8a04495ab34",
"rev": "6857c7f7c338ad181729c52071386b0d3afa24bc",
"type": "github"
},
"original": {
@@ -25,11 +25,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1793350711,
"narHash": "sha256-3fSKSbUTFHMrn5VeyKNZMIwiRx3oK8rinHrMFMGVjcU=",
"lastModified": 1795272803,
"narHash": "sha256-v/AlZwJYPvjQ5to1dpQJb8nx5hmTUCVW+SMkL5nxxkM=",
"owner": "tw93",
"repo": "mole",
"rev": "98b3e873396164fbb740c472de3187c8938c3b39",
"rev": "5c2edd1a17880d3ace0ad0f158863f8b029a92a3",
"type": "github"
},
"original": {
@@ -46,11 +46,11 @@
]
},
"locked": {
"lastModified": 1792737899,
"narHash": "sha256-P0/GhewcEQmAbzq3QunNWY2jLJaYH9F6c/5dEM/jQ4M=",
"lastModified": 1795302518,
"narHash": "sha256-HJKykg05SUTzWyGpbkGeBuLxJJUYx713ZSu3780YW2Y=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "bb0b90dbd54e207100de72b5dcbe3188c98a4b69",
"rev": "bcf051043c8c6e6473eb44245ed81bca90856523",
"type": "github"
},
"original": {
@@ -77,11 +77,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1793225069,
"narHash": "sha256-sx1f99WGrDfJ83KKuQrqGPmot0rnDgmpLJDzpU2oHQQ=",
"lastModified": 1795249095,
"narHash": "sha256-8JDgyVvWUZg5m9hNlL8Ge9aT647ng3Ukc8NPMiKNTPQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e62746b0b472753ef019baceab6f1e2e52014980",
"rev": "93a9ed0a866099a230ed5146a5bb7d16fd5c9b14",
"type": "github"
},
"original": {
+3 -1
View File
@@ -27,8 +27,10 @@ let
file = {
# Writable symlinks into the repo
".config/zed" = link "secrets/zed";
".colima/_templates/default.yaml" = link "files/colima/colima.yaml";
".agents" = link "files/agents";
".config/opencode/AGENTS.md" = link "secrets/opencode/AGENTS.md";
".config/tinycast/settings.json" = link "files/tinycast/settings.json";
# Read Only
".config/ghostty/config".source = ../files/ghostty/config;
@@ -50,7 +52,7 @@ let
c = "pwd | pbcopy";
vai = "sudo darwin-rebuild switch --flake ~/.config/dotfiles#${host.hostName}";
clean = "nix-collect-garbage -d";
clean = "nix profile wipe-history && nix store gc && nix store optimise";
};
sessionVariables = {
+1
View File
@@ -26,6 +26,7 @@
"blender"
"freelens"
"tailscale-app"
"kicad"
];
pkgs =
pkgs: with pkgs; [
Binary file not shown.
Binary file not shown.
Binary file not shown.