From a503ffd70d2393ba2885ce1999badae88a1d10a1 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Wed, 24 Apr 2024 10:48:14 -0300 Subject: [PATCH] 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 <<<<<<< SEARCH ======= ## Building a LiveCD To build a livecd using this flake, you can use the following command: ```bash nix build .#nixosConfigurations..config.system.build.isoImage ``` Replace `` 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 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 0b32825..bcc703c 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,14 @@ https://github.com/Misterio77/nix-starter-configs nixos-rebuild build-vm --flake ./#athame ``` +## Building a LiveCD + +To build a livecd using this flake, you can use the following command: + +```bash +nix build .#nixosConfigurations..config.system.build.isoImage +``` + +Replace `` 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.