Repository navigation
homeSpec.agents.claude.desktop: Claude Desktop with Cowork on KVM machines - #23
Merged
Merged
Conversation
…hines Claude Desktop follows homeSpec.agents.claude (off where installPackage is false). Cowork follows the new hostSpec.hardware.kvm.enable, detected from the facter report (svm/vmx): QEMU in the user's packages, and nixosModules.claude-desktop adds the kvm group and vhost_vsock for every home-manager user with Cowork on. The shared MCP servers are merged into ~/.config/Claude/claude_desktop_config.json at activation. Needs pkgs.claude-desktop (external-systems/pkgs#25, merged). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andrewthomaslee
enabled auto-merge (squash)
November 8, 2026 12:57
andrewthomaslee
added a commit
to external-systems/home
that referenced
this pull request
Nov 8, 2026
…att (#24) ## Summary Lock bump only: `modules` (external-systems/modules#23) and `org-pkgs` (external-systems/pkgs#25, `pkgs.claude-desktop`), plus `sync-locks`. ```diff home-manager.users.{netsa,matt} homeSpec.agents.claude.enable = true # unchanged + → Claude Desktop (default on with claude) + → Cowork + QEMU where facter shows svm/vmx NixOS (machines with a Cowork user) + boot.kernelModules += vhost_vsock + users.users.{netsa,matt}.extraGroups += kvm ``` Merge order: pkgs#25 ✅ merged → modules#23 ✅ merged → this. ## Evidence - **Before:** no `claude-desktop` in either profile. **After:** `fmt` (0 changed), `check` → `all checks passed!`; `nix build .#nixosConfigurations.beelink.config.system.build.toplevel` → `nixos-system-beelink-26.11.20261027.31ecbac`. beelink eval: `{"kvm":true,"vsock":true,"users":{"matt":{"desktop":true,"cowork":true,"inKvm":true},"netsa":{"desktop":true,"cowork":true,"inKvm":true},"root":{"desktop":false,"cowork":false,"inKvm":false}}}` ## Merge Danger **Door:** two-way Revert the lock bump; nothing destructive happens at activation. **Blast Radius:** fleet Every machine with netsa or matt gets Claude Desktop on its next deploy (`clan machines update <m>`, done by the owner). The `kvm` group applies after logging out and back in. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Claude Desktop turns on with
homeSpec.agents.claude; Cowork turns on where the machine has KVM.Merge order: external-systems/pkgs#25 (
pkgs.claude-desktop) is merged; a home PR follows to bumpmodules/org-pkgs.Evidence
checkrun caught a test bug:claude-desktop: Claude Desktop or QEMU not installed(pkgs.qemu_kvmis namedqemu-host-cpu-only); fixed by matching theqemuprefix.After:
fmt(0 changed),check→all checks passed!, including:checks.claude-desktop: app + QEMU installed, MCP sync targetsclaude_desktop_config.json,vhost_vsock+ alice inkvm; KVM off → desktop on, no Cowork/QEMU/host side; claude off → no app; standalone HM user (osConfig = null) → desktop on, Cowork off.checks.hardware-from-facter: CPUsvm→kvm.enable; nosvm/vmx→ off.checks.eval-all-enabled,checks.agents-independent(claude activations now includeclaudeDesktopMcpServers).Merge Danger
Door: two-way
Revert removes the options; the app's
~/.config/Claudestate stays behind harmlessly.Blast Radius: consumers
Every user with
homeSpec.agents.claude.enablegets Claude Desktop on the next deploy (opt out withdesktop.enable = false); Cowork users join thekvmgroup (takes effect on re-login). Consumers need an org-pkgs withpkgs.claude-desktop.🤖 Generated with Claude Code