This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
# ── acheron rescue / installer ISO ─────────────────────────────
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# ISO for VM / server deployment. Supports both BIOS (SeaBIOS) and
|
||||
# UEFI boot for maximum Proxmox compatibility.
|
||||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
imports = [
|
||||
../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;
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
# ── armaros rescue / installer ISO ─────────────────────────────
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# ISO for VM / server deployment. Supports both BIOS (SeaBIOS) and
|
||||
# UEFI boot for maximum Proxmox compatibility.
|
||||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
imports = [
|
||||
../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;
|
||||
|
||||
+5
-14
@@ -1,23 +1,14 @@
|
||||
# ── buildbox rescue / installer ISO ────────────────────────────
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# ISO for VM deployment. Supports both BIOS (SeaBIOS) and
|
||||
# UEFI boot for maximum Proxmox compatibility.
|
||||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
imports = [
|
||||
../iso/default.nix
|
||||
];
|
||||
|
||||
# Enable BIOS (MBR) boot for SeaBIOS compatibility in Proxmox
|
||||
boot.loader.grub.enable = lib.mkDefault true;
|
||||
boot.loader.grub.devices = ["nodev"];
|
||||
boot.loader.grub.efiSupport = false;
|
||||
|
||||
# Build ISO with both BIOS and UEFI support
|
||||
isoImage.makeEfiBootable = true;
|
||||
# Support both BIOS and UEFI boot
|
||||
isoImage.makeBiosBootable = true;
|
||||
isoImage.makeEfiBootable = true;
|
||||
|
||||
iso.extraPackages = with pkgs; [btrfs-progs];
|
||||
iso.diskoConfig = ./disko-config.nix;
|
||||
|
||||
+6
-10
@@ -1,18 +1,14 @@
|
||||
# ── eva-01 rescue / installer ISO ──────────────────────────────
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# ISO for deploying on physical hardware (ThinkPad X1 Nano).
|
||||
# Supports both BIOS and UEFI boot.
|
||||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
imports = [
|
||||
../iso/default.nix
|
||||
];
|
||||
|
||||
# Boot — EFI + legacy BIOS for broad hardware compatibility
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# Support both BIOS and UEFI boot
|
||||
isoImage.makeBiosBootable = true;
|
||||
isoImage.makeEfiBootable = true;
|
||||
|
||||
# Extra tools for Btrfs rescue
|
||||
iso.extraPackages = with pkgs; [
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
# ── eva-03 rescue / installer ISO ──────────────────────────────
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# ISO for deploying on physical hardware.
|
||||
# Supports both BIOS and UEFI boot.
|
||||
{ config, pkgs, pkgs-unstable, lib, ... }: {
|
||||
imports = [
|
||||
../iso/default.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
# Support both BIOS and UEFI boot
|
||||
isoImage.makeBiosBootable = true;
|
||||
isoImage.makeEfiBootable = true;
|
||||
|
||||
iso.diskoConfig = ./disko-config.nix;
|
||||
iso.description = "eva-03 Rescue ISO";
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
}: let
|
||||
cfg = config.iso;
|
||||
in {
|
||||
# Disable disko config application on ISOs — we only want the disko CLI tool.
|
||||
# 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;
|
||||
|
||||
options.iso = {
|
||||
diskoConfig = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
|
||||
Reference in New Issue
Block a user