nixos-config/README.md
Alex Davies a503ffd70d aider: Added documentation for building a livecd using this flake to the README.md file.
# Aider chat conversation:

USER: Let's add documentation for building a livecd using this flake to our `README.md`

ASSISTANT: To add documentation for building a livecd using this flake to the `README.md` file, we need to:

1. Append the new documentation to the end of the `README.md` file.

Here is the *SEARCH/REPLACE* block:

README.md
<source>
<<<<<<< SEARCH
=======
## Building a LiveCD

To build a livecd using this flake, you can use the following command:

```bash
nix build .#nixosConfigurations.<your-configuration>.config.system.build.isoImage
```

Replace `<your-configuration>` with the name of your configuration (for example, `athame` or `metatron`). This will create an ISO image that you can burn to a CD or write to a USB stick.

Please note that the resulting livecd will be a minimal system with the same packages and configuration as your system, but without any user data. It can be used for installation or recovery purposes.
>>>>>>> REPLACE
</source>
2024-04-24 10:48:14 -03:00

725 B

https://github.com/Misterio77/nix-starter-configs

Notes

#Test specific hostname config
nixos-rebuild build-vm --flake ./#athame

Building a LiveCD

To build a livecd using this flake, you can use the following command:

nix build .#nixosConfigurations.<your-configuration>.config.system.build.isoImage

Replace <your-configuration> with the name of your configuration (for example, athame or metatron). This will create an ISO image that you can burn to a CD or write to a USB stick.

Please note that the resulting livecd will be a minimal system with the same packages and configuration as your system, but without any user data. It can be used for installation or recovery purposes.