using nixos-anywhere

This commit is contained in:
2026-06-20 23:50:52 -04:00
parent f32d545a15
commit 41f66507c4
2 changed files with 2 additions and 27 deletions
-27
View File
@@ -26,7 +26,6 @@ Each host gets an auto-generated `<hostname>-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 `<hostname>-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 `<hostname>-iso` rescue/installer ISO (except `
└── pfp/ # Profile pictures
```
## Rescue / Installer ISOs
Every Linux host (except macOS) has an auto-generated ISO configuration (`<hostname>-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 |
+2
View File
@@ -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
];