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
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:
@@ -2,6 +2,8 @@ name: Build NixOS ISOs
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
paths:
|
paths:
|
||||||
- hosts/acheron/**
|
- hosts/acheron/**
|
||||||
- hosts/armaros/**
|
- hosts/armaros/**
|
||||||
@@ -13,6 +15,8 @@ on:
|
|||||||
- flake.nix
|
- flake.nix
|
||||||
- flake.lock
|
- flake.lock
|
||||||
- .gitea/workflows/iso-builder.yml
|
- .gitea/workflows/iso-builder.yml
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
publish-release:
|
publish-release:
|
||||||
|
|||||||
+14
-2
@@ -43,9 +43,21 @@ in {
|
|||||||
# Without this, disko would try to apply filesystems/boot config at build time,
|
# Without this, disko would try to apply filesystems/boot config at build time,
|
||||||
# which conflicts with ISO-specific overrides and can cause boot failures.
|
# which conflicts with ISO-specific overrides and can cause boot failures.
|
||||||
disko.enableConfig = false;
|
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)
|
# Standard installer tools. The disko *module* (inputs.disko.nixosModules.disko)
|
||||||
# only wires up system.build.diskoScript + fileSystems config — it does NOT put
|
# 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;
|
environment.systemPackages = with pkgs;
|
||||||
[
|
[
|
||||||
git
|
git
|
||||||
@@ -55,7 +67,7 @@ in {
|
|||||||
parted
|
parted
|
||||||
gptfdisk
|
gptfdisk
|
||||||
efibootmgr
|
efibootmgr
|
||||||
inputs.disko.packages.${pkgs.system}.disko
|
config.diskoPkg
|
||||||
]
|
]
|
||||||
++ cfg.extraPackages;
|
++ cfg.extraPackages;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user