Skip to content

feat: add stroma host#430

Merged
stackptr merged 7 commits intomainfrom
stroma
Apr 9, 2026
Merged

feat: add stroma host#430
stackptr merged 7 commits intomainfrom
stroma

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Apr 9, 2026

Summary

  • Add Stroma as a new nix-darwin host (personal macOS machine)
  • Configure declarative system defaults, dock, and application suite via Homebrew/MAS
  • Register Stroma's SSH public key in the fleet and allow it to deploy via SSH
  • Connect Open WebUI on glyph to LM Studio running on Stroma, exposing local models (Qwen 3.5 35B, Gemma 4 26B) as additional chat backends

Changes

New host: Stroma

  • hosts/Stroma/default.nix — host entry enabling darwin defaults (fonts, homebrew, security, system)
  • hosts/Stroma/hardware.nix — hardware configuration
  • hosts/Stroma/programs.nix — system packages, MAS apps, and cask-based programs (Craft, DaisyDisk, FastScripts, IINA, Little Snitch, PopClip, Postico, Roon, Scroll Reverser, SoundSource)
  • hosts/Stroma/dock.nix — dock layout and persistent apps
  • hosts/Stroma/key.pub — SSH public key
  • lib/keys.nix — register Stroma key in the fleet

Open WebUI integration

  • hosts/glyph/secrets/open-webui-env.age — add Stroma's LM Studio endpoint to OPENAI_API_BASE_URLS/OPENAI_API_KEYS
  • hosts/glyph/services/open-webui.nix — add Qwen 3.5 35B and Gemma 4 26B to managed models, set Gemma 4 26B as default, fix model sync deactivation to only target models with explicit DB entries

Test plan

  • nh darwin switch .#Stroma succeeds on Stroma
  • Dock layout and installed apps match configuration
  • Open WebUI shows Qwen 3.5 35B and Gemma 4 26B alongside Claude models
  • Gemma 4 26B is the default model on new chats
  • Model sync timer does not deactivate LM Studio models

stackptr and others added 7 commits April 9, 2026 13:35
Addresses this error when switching to the flake:

```
error: Build user group has mismatching GID, aborting activation
The default Nix build user group ID was changed from 30000 to 350.
You are currently managing Nix build users with nix-darwin, but your
nixbld group has GID 350, whereas we expected 30000.

Possible causes include setting up a new Nix installation with an
existing nix-darwin configuration, setting up a new nix-darwin
installation with an existing Nix installation, or manually increasing
your `system.stateVersion` setting.

You can set the configured group ID to match the actual value:

    ids.gids.nixbld = 350;

We do not recommend trying to change the group ID with macOS user
management tools without a complete uninstallation and reinstallation
of Nix.
```
@stackptr stackptr changed the title add stroma host feat: add stroma host Apr 9, 2026
@stackptr stackptr enabled auto-merge (squash) April 9, 2026 22:10
@stackptr stackptr merged commit 8d2ccfa into main Apr 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant