feat(dev): add hosts/dev self-managed QEMU VM fleet host (ADR-0018) #165
No reviewers
Labels
No labels
bug
enhancement
in-progress
needs-info
needs-triage
p0
ready-for-agent
ready-for-human
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/nixos!165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/dev-fleet-host"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Authors
hosts/dev/— the self-managed NixOS fleet host that runs on the QEMU VM (ADR-0018, PR2). Builds on the onboarding already onmain(e573a5b:&dev-newage key,hosts/dev/sops rule,fleet.nixdev key).What's here
dominikuser,lab,forgejo-mcp, sops, zram, ddev, NOPASSWD sudo) ported to a standalone fleet host: importsbento+set-nix-channel+autoupgrade+hardware-configuration.nix, root SSH keys, thegit.cloonar.comknown-host, static.97.16networking matched on the temp MAC, aggressive GC (daily /3d, min-free 20 G / max-free 40 G,optimise), and no borgbackup (cattle)./dev/vda, ext4 root).nixos-26.05; stateVersion25.05(the infect version); home-manager pinned torelease-26.05.KillMode=processso a configswitchnever drops a Claude session (the #161 follow-up).hosts/fw/vms/dev/(decryptable bydev-new); the microvm keeps its own copy until PR3.allowUnfree(intelephense / claude-code) + the 26.05pypy2.7insecure-predicate — both needed standalone (the microvm inherited them from fw'spkgs).No central registration needed —
test-configuration/sync-host --allwork generically offhosts/<host>/, and thedevpre-commit skip was already removed (ADR-0003).Gate
Pre-commit dry-build of
devis green against 26.05.Eval can't cover — your PR2 validation, post-deploy
nix-shell -pin dominik's shell — I override bento'sNIX_PATHto re-add the channel's nixpkgs, but that's only verifiable at runtime.Still open on #161 (post-merge)
restartIfChanged = falseon theqemu-vm.nix<name>-vmservice (separate module change).switchkeeps it alive; a reboot boots a guest-built kernel).Part of #161.