feat(asahi): wire Apple Silicon support for builder-aarch64 - #164
Merged
Conversation
- flake.nix: add nixos-apple-silicon input (tpwrules/nixos-apple-silicon, follows nixpkgs); wire the apple-silicon-support module into nixosConfigurations.builder-aarch64 - hosts/builder-aarch64: add hardware.asahi options (enable, sound, AGX GPU), systemd-boot config for m1n1/U-Boot Asahi chain, canTouchEfiVariables=false (mandatory on Apple Silicon), Nix flake settings, local Katello substituter stub (127.0.0.1:8101), sourceos user with wheel/video/audio groups, stateVersion 25.05 hardware-configuration.nix is intentionally omitted — generate on device with `nixos-generate-config` after Asahi install. - scripts/katello-sourceos-setup.sh: hammer CLI setup for SourceOS content structure in Foreman+Katello: lifecycle envs (dev/candidate/stable), SourceOS product, nix-cache-aarch64-linux and sourceos-closures-aarch64 repos, sourceos-builder-aarch64 content view, initial publish + dev promote
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
nixos-apple-siliconflake input (tpwrules/nixos-apple-silicon, nixpkgs follows) to wire Asahi kernel + drivers for Apple M-series hardwareapple-silicon-supportmodule intonixosConfigurations.builder-aarch64hosts/builder-aarch64/default.nixwith full system config: hardware.asahi (enable, sound, AGX GPU), systemd-boot for the m1n1+U-Boot Asahi chain, Nix flake settings, Katello substituter stub, sourceos user, stateVersion 25.05hardware-configuration.nixintentionally omitted — device-specific, generated on device after Asahi installscripts/katello-sourceos-setup.sh: hammer CLI script that creates the SourceOS product, repositories (nix-cache-aarch64-linux, sourceos-closures-aarch64), content view (sourceos-builder-aarch64), lifecycle environments (dev/candidate/stable), and initial publish+promoteTest plan
nix flake checkpasses on aarch64-linux (or with cross-eval from macOS)builder-aarch64-contractcheck passes: channel=dev, role=builder-aarch64, dev.json capabilities intactnixos-install --flake .#builder-aarch64succeedskatello-sourceos-setup.shruns cleanly against a live Foreman+Katello instance