Disko: Difference between revisions
imported>Onny mNo edit summary |
imported>Onny mNo edit summary |
||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
The following example creates a new GPT partition table for the disk <code>/dev/vda</code> including | The following example creates a new GPT partition table for the disk <code>/dev/vda</code> including two partitions for EFI boot and a [[bcachefs]] root filesystem. | ||
{{file|disko-config.nix|nix|<nowiki> | {{file|disko-config.nix|nix|<nowiki> | ||
| Line 49: | Line 49: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# | # nix-env -iA nixos.disko | ||
# sudo disko --mode zap_create_mount disko-config.nix | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Filesystem]] | [[Category:Filesystem]] | ||