From 41f66507c49935a42999891ec39a341b97a92c2d Mon Sep 17 00:00:00 2001 From: rogueking Date: Sat, 20 Jun 2026 23:50:52 -0400 Subject: [PATCH] using nixos-anywhere --- README.md | 27 --------------------------- hosts/buildbox/configuration.nix | 2 ++ 2 files changed, 2 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index d47b9e4..2471935 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ Each host gets an auto-generated `-iso` rescue/installer ISO (except ` │ │ ├── configuration.nix │ │ ├── disko-config.nix │ │ ├── hardware-configuration.nix -│ │ └── iso.nix │ ├── armaros/ # Server #2 │ │ └── ... │ ├── buildbox/ # CI / Build @@ -39,8 +38,6 @@ Each host gets an auto-generated `-iso` rescue/installer ISO (except ` │ │ └── configuration.nix │ ├── eva-03/ # Linux desktop with ComfyUI │ │ └── ... -│ └── iso/ -│ └── default.nix # Shared rescue ISO module ├── home-manager/ │ ├── home.nix # Home Manager config for `rogueking` │ ├── commands/ # CLI tool modules @@ -64,30 +61,6 @@ Each host gets an auto-generated `-iso` rescue/installer ISO (except ` └── pfp/ # Profile pictures ``` -## Rescue / Installer ISOs - -Every Linux host (except macOS) has an auto-generated ISO configuration (`-iso`) that provides: - -- SSH access with the configured public key -- The host's `disko-config.nix` copied to `/etc/disko-config.nix` -- Common rescue tools (`git`, `neovim`, `wget`, `curl`, `parted`, `gptfdisk`, `efibootmgr`) - -### Building an ISO - -```bash -nix build .#nixosConfigurations.acheron-iso.config.system.build.isoImage -``` - -### Using a rescue ISO - -```bash -# Partition and format disks -disko --mode disko /etc/disko-config.nix - -# Install the system -nixos-install --flake /etc/nixos#hostname -``` - ## Flake Inputs | Input | Source | diff --git a/hosts/buildbox/configuration.nix b/hosts/buildbox/configuration.nix index 30989c4..a207d50 100644 --- a/hosts/buildbox/configuration.nix +++ b/hosts/buildbox/configuration.nix @@ -12,6 +12,8 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + # Declarative disk layout (consumed by disko + nixos-anywhere). + ./disko-config.nix inputs.home-manager.nixosModules.default ];