This commit is contained in:
Johannes Kirschbauer
2025-09-17 14:32:46 +02:00
parent ae28196039
commit be4cd657c9
79 changed files with 19525 additions and 88 deletions

View File

@@ -25,7 +25,7 @@ Available 'machine' templates
For this guide we will select the `single-disk` template, that uses `A simple ext4 disk with a single partition`.
!!! tip
:::tip
For advanced partitioning, see [Disko templates](https://github.com/nix-community/disko-templates) or [Disko examples](https://github.com/nix-community/disko/tree/master/example).
You can also [contribute a disk template to clan core](https://docs.clan.lol/guides/disko-templates/community/)
@@ -58,15 +58,15 @@ Applied disk template 'single-disk' to machine 'jon'
A disko.nix file should be created in `machines/jon`
You can have a look and customize it if needed.
!!! Danger
:::Danger
Don't change the `disko.nix` after the machine is installed for the first time, unless you really know what you are doing.
Changing disko configuration requires wiping and reinstalling the machine.
## Deploy the machine
**Finally deployment time!**
**Finally deployment time!**
This command is destructive and will format your disk and install NixOS on it! It is equivalent to appending `--phases kexec,disko,install,reboot`.
This command is destructive and will format your disk and install NixOS on it! It is equivalent to appending `--phases kexec,disko,install,reboot`.
```bash