feat(installer): Void Linux support via xbps + runit (draft)#79
Draft
Nomadcxx wants to merge 3 commits into
Draft
feat(installer): Void Linux support via xbps + runit (draft)#79Nomadcxx wants to merge 3 commits into
Nomadcxx wants to merge 3 commits into
Conversation
Add cage as the recommended greetd backend (lite mode: Kitty-only, no gSlapper wallpapers at startup). Hyprland greeter support remains functional but is marked deprecated with ~3 month removal timeline. Includes design spec, implementation plan, installer/Nix/postinstall integration, docs, launcher script, and verify script. Addresses #69.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add platform detection (runit vs systemd), xbps package installs, _greeter account handling, runit greetd enable, and conditional gSlapper skip for cage. Includes Void docs and verify script. Addresses #53. Runtime testing on Void hardware still required.
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
Phase 1 of #53: extend the Go installer for Void Linux (
xbps+ runit), not standalone shell recipes.cmd/installer/platform.go): reads/etc/os-release, detects systemd vs runit, resolves_greeter//var/lib/_greeteron Void/var/service/greetd, disables conflictingagetty-tty1docs-src/getting-started/void-linux.md) andscripts/verify-void-installer.sh(static checks — passes locally)This branch also includes the in-progress cage greeter work (#69) that Void support builds on (cage as recommended backend, Hyprland deprecation warnings).
Runit concerns (honest status)
This is a draft because runit integration is the highest-risk piece and is not yet validated on real Void hardware:
/etc/sv/greetd→/var/service/greetd; disableagetty-tty1_greeteraccountgreeterelsewheresubstituteGreeterPaths()+ dynamicm.greeterUserin greetd configExpect iteration after someone runs the installer on an actual Void box. The verify script only checks source structure — it does not exercise runit or greetd at runtime.
Test plan
go run ./cmd/installer/on a fresh Void Linux VM (runit, no desktop)_greeterexists and greetd config uses correct user/home paths/var/service/greetdsymlink andagetty-tty1disabledscripts/verify-void-installer.shpasses in CI or pre-mergeOut of scope (later phases)
Closes #53 when runtime-validated and merged.
Made with Cursor