build iso's of all hosts
Build NixOS ISOs / build-iso (acheron) (push) Failing after 1m11s
Build NixOS ISOs / build-iso (armaros) (push) Failing after 1m24s
Build NixOS ISOs / build-iso (buildbox) (push) Failing after 43s
Build NixOS ISOs / build-iso (ender-ml) (push) Failing after 1m13s
Build NixOS ISOs / build-iso (eva-01) (push) Failing after 56s
Build NixOS ISOs / build-iso (eva-03) (push) Failing after 32s

This commit is contained in:
2026-06-20 18:12:28 -04:00
parent 080c3b9ab6
commit 49781e0121
2 changed files with 18 additions and 2 deletions
+4
View File
@@ -2,6 +2,8 @@ name: Build NixOS ISOs
on:
push:
branches:
- main
paths:
- hosts/acheron/**
- hosts/armaros/**
@@ -13,6 +15,8 @@ on:
- flake.nix
- flake.lock
- .gitea/workflows/iso-builder.yml
tags:
- v*
workflow_dispatch:
inputs:
publish-release:
+14 -2
View File
@@ -43,9 +43,21 @@ in {
# Without this, disko would try to apply filesystems/boot config at build time,
# which conflicts with ISO-specific overrides and can cause boot failures.
disko.enableConfig = false;
# Slim disko CLI. The upstream `disko` package wraps the script with
# nixos-install-tools + xcp on PATH, which drags in xfsprogs/zfs-user/
# cifs-utils/etc. and blows the minimal-CD ISO past its size budget.
# The `disko` command itself only needs nix-build + coreutils; the
# generated scripts use util-linux tools (mount, sgdisk, parted, mkfs.*)
# that are already on the ISO or added to environment.systemPackages below.
# nixos-install-tools is only needed by `disko-install`, not `disko`.
diskoPkg = inputs.disko.packages.${pkgs.system}.disko.overrideAttrs (old: {
# Rebuild the wrapper without nixos-install-tools / xcp.
installPhase = builtins.replaceStrings ["xcp"] [""] old.installPhase;
});
# Standard installer tools. The disko *module* (inputs.disko.nixosModules.disko)
# only wires up system.build.diskoScript + fileSystems config — it does NOT put
# the `disko` CLI on PATH. We need the separate disko package for rescue use.
# the `disko` CLI on PATH. We add the slim disko package for rescue use.
environment.systemPackages = with pkgs;
[
git
@@ -55,7 +67,7 @@ in {
parted
gptfdisk
efibootmgr
inputs.disko.packages.${pkgs.system}.disko
config.diskoPkg
]
++ cfg.extraPackages;