build iso's of all hosts
Build NixOS ISOs / build-iso (armaros) (push) Has been cancelled
Build NixOS ISOs / build-iso (buildbox) (push) Has been cancelled
Build NixOS ISOs / build-iso (ender-ml) (push) Has been cancelled
Build NixOS ISOs / build-iso (eva-01) (push) Has been cancelled
Build NixOS ISOs / build-iso (acheron) (push) Has been cancelled
Build NixOS ISOs / build-iso (eva-03) (push) Has been cancelled
Build NixOS ISOs / build-iso (armaros) (push) Has been cancelled
Build NixOS ISOs / build-iso (buildbox) (push) Has been cancelled
Build NixOS ISOs / build-iso (ender-ml) (push) Has been cancelled
Build NixOS ISOs / build-iso (eva-01) (push) Has been cancelled
Build NixOS ISOs / build-iso (acheron) (push) Has been cancelled
Build NixOS ISOs / build-iso (eva-03) (push) Has been cancelled
This commit is contained in:
@@ -6,6 +6,7 @@ on:
|
||||
- hosts/acheron/**
|
||||
- hosts/armaros/**
|
||||
- hosts/buildbox/**
|
||||
- hosts/ender-ml/**
|
||||
- hosts/eva-01/**
|
||||
- hosts/eva-03/**
|
||||
- hosts/iso/**
|
||||
@@ -25,10 +26,12 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
host:
|
||||
- eva-01
|
||||
- acheron
|
||||
- armaros
|
||||
- ender-ml
|
||||
- buildbox
|
||||
- ender-ml
|
||||
- eva-01
|
||||
- eva-03
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
};
|
||||
|
||||
# Hosts that have rescue/installer ISOs
|
||||
isoHosts = ["acheron" "armaros" "buildbox" "eva-01" "eva-03"];
|
||||
isoHosts = ["acheron" "armaros" "buildbox" "ender-ml" "eva-01" "eva-03"];
|
||||
|
||||
# Build a rescue/installer ISO configuration for a host
|
||||
mkIso = hostname: {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# ── buildbox rescue / installer ISO ────────────────────────────
|
||||
# ── ender-ml rescue / installer ISO ────────────────────────────
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
@@ -10,10 +10,11 @@
|
||||
../iso/default.nix
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = lib.mkDefault true;
|
||||
boot.loader.grub.devices = ["nodev"];
|
||||
# Support both BIOS and UEFI boot
|
||||
isoImage.makeBiosBootable = true;
|
||||
isoImage.makeEfiBootable = true;
|
||||
|
||||
iso.extraPackages = with pkgs; [btrfs-progs];
|
||||
iso.diskoConfig = ./disko-config.nix;
|
||||
iso.description = "buildbox Rescue ISO";
|
||||
iso.description = "ender-ml Rescue ISO";
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.iso;
|
||||
@@ -42,7 +43,9 @@ 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;
|
||||
# Standard installer tools
|
||||
# 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.
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
git
|
||||
@@ -52,6 +55,7 @@ in {
|
||||
parted
|
||||
gptfdisk
|
||||
efibootmgr
|
||||
inputs.disko.packages.${pkgs.system}.disko
|
||||
]
|
||||
++ cfg.extraPackages;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user