Skip to content

feat(coder-labs/incus-nixos): NixOS on Incus VMs, configured from a flake - #1222

Draft
phorcys420 wants to merge 1 commit into
mainfrom
phorcys/nix-incus
Draft

phorcys420 wants to merge 1 commit into
mainfrom
phorcys/nix-incus

Conversation

@phorcys420

@phorcys420 phorcys420 commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

NixOS on incus :D

…lake

Port the aws-nixos template to Incus: a NixOS VM boots from
images:nixos/<release> and rebuilds from a Git flake before the agent
starts, using the coder-labs/nix module.

Stock NixOS images have no user-data hook, so incus-init (adapted from
amazon-init) runs the same bootstrap through the Incus agent on every
start, detached into a transient unit so the build does not wait for
the first rebuild. The token travels in the exec environment, not argv.

Replaces bpmct/incus-nixos, which wrote its own NixOS configuration over
incus exec instead of building a flake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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