README: document how to wipe filesystem

This commit is contained in:
Primrose 2025-10-23 10:57:54 +08:00
parent fc18ac4016
commit 3b77ed9058
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -4,6 +4,7 @@ This repo is managed with Nix + GNU stow
- Generate image & boot - Generate image & boot
We do this because the default one doesn't have all the utilities we want (e.g. disko). We do this because the default one doesn't have all the utilities we want (e.g. disko).
- generate image `nom-build --attr nixosConfigurations.installer.config.system.build.isoImage` - generate image `nom-build --attr nixosConfigurations.installer.config.system.build.isoImage`
- wipe the disk's fs with `wipefs`
- `dd` the image to a flash drive (remember to `sync`) - `dd` the image to a flash drive (remember to `sync`)
- boot off that flash drive - boot off that flash drive