runner: overlay-root appliance mode
This commit is contained in:
parent
49b969e081
commit
ce8c1319f4
5 changed files with 79 additions and 1 deletions
12
flake.nix
12
flake.nix
|
|
@ -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;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue