feat: nixos-installer template (bootable USB installer ISO with key-only SSH) #5
Loading…
Reference in a new issue
No description provided.
Delete branch "nixos-installer-template"
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?
Adds a
nixos-installertemplate: a flake that builds a bootable USBNixOS installer ISO (hybrid BIOS/UEFI, x86_64 + aarch64) with
preconfigured key-only SSH, NetworkManager, flake-enabled nix, a serial
console, and a rescue/install toolkit — everything in one editable
NixOS module (
nixos/installer.nix).packages.iso— the image (nix build .#iso, flash withcp/dd)apps.vm— boots the ISO under qemu with ssh forwarded to :2222apps.validate— lockfile gate, full eval of both systems, and areal QEMU boot smoke waiting for the serial autologin shell
flake.templates; root README updatedRoot CI: the templates job skips this one (building + booting a full
NixOS closure each push is too slow); it was validated locally —
nix flake checkandnix run .#validateboth pass on a fresh copy(ISO built, booted under KVM, login shell reached), and
nix flake init -t ...#nixos-installer+ check passes on theinitialized copy.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.