runner: overlay-root appliance mode

This commit is contained in:
every.channel 2026-02-17 02:26:09 -08:00
parent 49b969e081
commit ce8c1319f4
No known key found for this signature in database
5 changed files with 79 additions and 1 deletions

View file

@ -40,6 +40,9 @@
({ modulesPath, ... }: {
imports = [ (modulesPath + "/installer/netboot/netboot-minimal.nix") ];
})
({ ... }: {
services.every-channel.runner.overlayRoot.enable = false;
})
({ config, pkgs, ... }: {
# Convenience output dir: { kernel, initrd, netboot.ipxe }.
system.build.netboot = pkgs.linkFarm "ec-runner-netboot" [
@ -62,6 +65,9 @@
({ modulesPath, ... }: {
imports = [ (modulesPath + "/installer/netboot/netboot-minimal.nix") ];
})
({ ... }: {
services.every-channel.runner.overlayRoot.enable = false;
})
({ config, pkgs, ... }: {
system.build.netboot = pkgs.linkFarm "ec-runner-netboot" [
{
@ -85,6 +91,9 @@
({ modulesPath, ... }: {
imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ];
})
({ ... }: {
services.every-channel.runner.overlayRoot.enable = false;
})
];
# aarch64 SD image (useful for quick ARM bring-up and as a "real image" build target).
@ -92,6 +101,9 @@
({ modulesPath, ... }: {
imports = [ (modulesPath + "/installer/sd-card/sd-image-aarch64.nix") ];
})
({ ... }: {
services.every-channel.runner.overlayRoot.enable = false;
})
];
};
}